Skip to content
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

Is there an alternative to moment-timezone with bundled IANA TZ DB? #1103

Open
driver-by opened this issue Apr 22, 2024 · 0 comments
Open

Is there an alternative to moment-timezone with bundled IANA TZ DB? #1103

driver-by opened this issue Apr 22, 2024 · 0 comments

Comments

@driver-by
Copy link

All alternatives rely on Intl browser API, but browsers don't update TZ DB reliably. If it's important to have correct times in different timezones in your application, the only way is moment + moment-timezone now. And these projects being in maintenance mode makes me sad 😢
Anything I miss?

I see that js-joda provides some IANA DB (taken from moment-timezone?), but the package is not updated often. I could contribute with tz updates myself there, but it also depends on maintainers' possibility to apply PRs.

Just one example of the Chromium being really behind with these updates:
January 23, 2024 - news about Kazakhstan being moved to single timezone starting March 1, 2024
February 01, 2024 - IANA DB updated to 2024a including this timezone change
February 03, 2024 - moment-timezone updated to 2024a version
February 29, 2024 - the issue in Chromium about lack of Kazakhstan TZ change
March 8, 2024 - marked as fixed in Chromium tracker
And then it takes some time to get updates on the client side.

Despite it's being a pretty quick fix, the update was pretty late. Moreover, it looks like the process is not automated, and is done manually after an issue is being raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant