-
Notifications
You must be signed in to change notification settings - Fork 33
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 JSTZ more reliable than Moment Timezone in detecting a user's timezone? #20
Comments
I found the following at Moment's website. Do you have any information like the following for JSTZ? Thank you!
|
What I remember is that at the time moment timezone did not support detection. Maybe I missed it in the docs, but that's why I originally forked this lib. If you're already using moment and it does support that functionality perhaps this lib is unnecessary. As for your second comment you can check out the source where the internationalization API is used (if present) here: https://github.com/iansinnott/jstz/blob/master/jstz.main.js#L102 As for whether moment is more reliable... Probably. I suppose you would have to see how this lib stacks up to their test suite which is certainly much more extensive. |
Thank you @iansinnott for the prompt response and for making JSTZ! On a different note, I will be sending you a note via an email soon. Best! Rohit |
Hi, can you please comment on how JSTZ compares to Moment timezone in detecting user's timezone? I will greatly appreciate if you can compare about the reliability, browser, and OS support.
Thank you for creating such a helpful resource!
The text was updated successfully, but these errors were encountered: