-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Timezone plugin returns incorrect values or null #2207
Comments
This is driving me nuts! I have been using dayjs and the timezone plugin in a node project for more than 2 years now and, just recently (and without any change related to dayjs whatsoever) it started producing invalid dates whenever the timezone plugin is used! What is even weirder is that it only happens on my Mac mini, whereas everything looks normal on several ubuntu servers where the app is also running. All machines have the same node version (16.19.0). Any ideas? |
Nevermind, apparently this happened due to the homebrew icu4c update to 72.1... |
I faced the same issue, on iOS everything is good, but on Android I got When using something like this
everything is good But when using
|
@Pareder Unfortunately not. I've disabled Hermes on iOS for now. |
This is happening for me too. But it seems to be random. In one run it gives proper values and in another they are all Also, it is only happening on an android physical device. During unit testing, everything works fine. |
any update on this? |
Hi, this started to be an issue for me as well. I'll dive into the PR #2227 and add some test cases there |
Describe the bug
The Timezone plugin returns incorrect values or null on iOS when Hermes engine is enabled.
Information
Steps to reproduce
npx react-native init AwesomeProject
yarn add dayjs
Code example
Actual behavior
Expected behavior
For React Native < 0.70 timezone plugin doesn't work at all, right now it works but returned values are incorrect.
The text was updated successfully, but these errors were encountered: