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

guess() method returns Asia/Manila when the timezone is Australia/Perth #748

Closed
niyaza3 opened this issue May 2, 2019 · 1 comment
Closed

Comments

@niyaza3
Copy link

niyaza3 commented May 2, 2019

In internet explorer guess() is returning Asia/Manila instead of Australia/Perth.

@ichernev
Copy link
Contributor

Try to figure out if guess is using Intl (not sure if IE has Intl), or not. If guess is using our custom "smart" implementation, then check how different these timezones are. Also, it's possible IE is buggy and reports wrong offsets which confuse moment-timezone.

There is a reason it's called guess and not getTimezone, because its best effort and could fail for a number of reasons.

Closing this in favor of #873.

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