New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error formatting date using injection api. #992
Comments
Hello, Thx |
@wmcbain Have you been able to solve or workaround it? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
based on the err message I don't think it's in our code :-/ If you can make a small repo to demo the issue that'd be great. Feel free to reopen. |
I have the same. And idk why but problem is solve if I
PS: It seems to happen only on Android EDIT: I'm not able to reproduce in Snack but I share it if you wanna play : https://snack.expo.io/rJ9f-vWlr |
As far I can investigate, it's seems to be due to the Trying to Anyway I found a relative fix disabling the cache of the polyfill used of Intl with |
Thanks for reporting and sorry for the late reply. Yes this does seem like a |
I was able to solve issues of
in |
Using
react-intl@2.3.0
andreact-native@0.44.0
.I'm trying to use the
formatDate
api using theinjectIntl
method. When I do so I receive the following stack trace.Example:
Have tried a variety of different formats, even using the
Date.now()
example in the documentation.formatRelative
works on the same json. Additionally have tried to load the pjson data from theintl
library to the polyfill.Thanks and let me know if there's anything else I can provide.
The text was updated successfully, but these errors were encountered: