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

Checking for undefined Intl.DateTimeFormat().resolvedOptions().timeZone #322

Merged
merged 1 commit into from
May 3, 2016

Conversation

LeeHoward1
Copy link
Contributor

I found that Intl.DateTimeFormat().resolvedOptions().timeZone returned undefined in FireFox 45.0.1. I'm not sure if my environment is weird or what. This pull request checks for that case and doesn't print out an error, since it doesn't make sense to report the error "Moment Timezone found undefined from the Intl api, but did not have that data loaded."

@timrwood timrwood merged commit 7732f4a into moment:develop May 3, 2016
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

Successfully merging this pull request may close these issues.

2 participants