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
Hermes Date constructor problem #136
Comments
And
|
The spec doesn’t mandate both of those formats; off the top of my head, only safari supports the slashes (I’m not at a computer so i can’t verify rn) |
Thanks for the feedback! @ljharb is correct. In order to keep the VM small, we have chosen to parse only the strings the spec requires. If you require parsing other date formats, we suggest using an npm module which implements richer date parsing such as https://www.npmjs.com/package/moment, or you can write your own. |
Closes #3 Due to returning NaN when parsing Date: - facebook/hermes#136 - facebook/hermes#84
https://www.npmjs.com/package/dayjs
|
In RN project on Android (Hermes enabled) app keeps crashing on |
@PrimulaX please open a new issue using one of the forms at https://github.com/facebook/hermes/issues/new/choose. Include as much logging or repro information as you can. |
in hermes(0.2.1):
in Node:
The text was updated successfully, but these errors were encountered: