catamphetamine / javascript-time-ago

International highly customizable relative date/time formatting

Home Page:https://catamphetamine.gitlab.io/react-time-ago/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Format on Twitter style returns undefined on React Native/Android

oferRounds opened this issue · comments

On debug mode – works great. But on non-debug mode (different Javascript engine), format returns undefined. Any idea?

I would guess it might have to do with the Intl dependency, but in that case, wouldn’t it fall back to the default format?
In addition, default format does work

Timestamp example: 2020-05-03T20:21:54

Hmm, no idea, haven't worked with mobile apps.

Got you, thanks!