-
Notifications
You must be signed in to change notification settings - Fork 836
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
No timezone detected on Ubuntu Linux #503
Comments
|
What precisely do you mean by "no timezone is displayed"? The moment-timezone website give a map of the time zones of the world. What you get back is related to where you place your mouse, not what is on your machine. We have a function The map does default to the active guess, but if you mouse-over, you'll get something else. |
The page http://momentjs.com/timezone/ displays a timezone even without placing the mouse on the map. My understanding is, that this is the time zone detected from my browser. However, on my Linux system, the detection doesn't seem to work. |
Time zone guessing issues like this often come down to the underlying data in the browser, which changes over time. I'm closing this off for now, but if the problem is still happening, feel free to re-open the issue. |
When I go to http://momentjs.com/timezone/ no timezone is displayed. I'm running Ubuntu 16.04.2 LTS and tried Firefox 53.0.3 (64-bits), Chromium 58.0.3029.110 and Opera 45.0. If I do the same in a Windows VM, it properly displays 'Europe/Berlin 08:57 am CEST'
If I try the following JavaScript code it detects the offset correctly:
https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_gettimezoneoffset
The text was updated successfully, but these errors were encountered: