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 DB Bug #2121
Comments
I am also experiencing problems with it. Thanks for creating an entry for this. My temporary solution is to use |
This is not a dayjs issue, but a Intl issue and should be fixed there (wherever this may be :-). |
Duplicate of issue #2107 ? |
I think Intl is where the problem exists, they supposedly use IANA database and this appears to be updated (https://time.is) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm not sure if this is a day.js bug or a native browser Internationalization API bug, but the time zone database seems to be out of date.
For example, if you apply the following timezone in day.js
dayjs.tz('2022-11-08 13:00:00', 'America/Ojinaga')
You will get an offset of UTC -7.
Expected behavior
The offset should be UTC -6.
https://timezonedb.com/time-zones/America/Ojinaga
(They city of Ciudad Juárez, Mexico recently changed this)
If day.js is not the proper place to report this bug, do you know where to file a bug report for the Internationalization API?
Information
The text was updated successfully, but these errors were encountered: