You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to get name of current time zone. When I change time zone in google chrome Dev Tools -> click on three dots -> More Tools -> Sensors and change timezone to Tokyo. Check timezone in following script
Hi @krajcikondra , thanks for using js-joda and reporting this interesting issue.
The time we have been writing the code for detecting the system timezone, changing the timezone required a browser restart. Therefore timezone is detected only once at script startup time and not at runtime. Internally we are using Intl.DateTimeFormat().resolvedOptions().timeZone to determine zone info, so theoretically, with a little change in our code base, it should be possible to fix the issue.
Hi,
I need to get name of current time zone. When I change time zone in google chrome Dev Tools -> click on three dots -> More Tools -> Sensors and change timezone to Tokyo. Check timezone in following script
then I get following output:
I expect "Asia\Tokyo" but I get "Europe/Prague".
Do am I something bad or is that bug?
Thanks in advance
The text was updated successfully, but these errors were encountered: