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

moment.tz.guess() in chrome is different from moment.tz.guess() in IE #453

Closed
mallikarjuna909 opened this issue Mar 1, 2017 · 1 comment

Comments

@mallikarjuna909
Copy link

Hi,

moment.tz.guess() is giving "Asia/Calcutta" in Chrome, where as moment.tz.guess() is giving "Asia/Kolkata" in IE. So my dropdown is not setting my timezone value?

Thanks.

@maggiepint
Copy link
Member

This is actually a product of the Intl APIs in ECMA 402 that are used to produce the result. There wouldn't be much we could to to standardize that, but those are both an alias for the same zone, with Asia/Kolkata being the canonical name. Both identifiers should set the time zone correctly.

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

2 participants