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
Wrong tz name in IE 11 Pacific/Kwajalein #482
Comments
So what is happening here is that UTC-12 is not currently in use by any populated location on Earth. We have been excluding non-populated zones from the guessing algorithm.
Including zero-population zones in the guessing algorithm will fix this, as current-year offset carries a higher rank in the algorithm than population. |
I guess that in chrome it works because of Intl impl has timezone and IE doesn't? |
Right. Most browsers have the Intl time zone support now. So the guessing algorithm doesn't kick in. (expand the DateTimeFormat section on that chart) |
Hi Matt, I having the same issue here. My local computer time zone is set to Kuala Lumpur/Singapore. Is there any work around for it? Thanks, |
moment.tz.guess() in IE 11 returns "Pacific/Kwajalein" if i switched to tz -12 (windows 7). But it's UTC+12
The text was updated successfully, but these errors were encountered: