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
The value of new Intl.DateTimeFormat().resolvedOptions().timeZone is updated immediately by the browser when the system time zone changes, without the need to restart the browser or reload the tab. I tested this with Chrome and Firefox, on Linux Mint 22 and Windows 11.
When calling Temporal.Now.timeZoneId() using Firefox's native Temporal implementation, or the https://github.com/js-temporal/temporal-polyfill, this method also returns the most recent system time zone.
The value of
new Intl.DateTimeFormat().resolvedOptions().timeZone
is updated immediately by the browser when the system time zone changes, without the need to restart the browser or reload the tab. I tested this with Chrome and Firefox, on Linux Mint 22 and Windows 11.When calling
Temporal.Now.timeZoneId()
using Firefox's native Temporal implementation, or the https://github.com/js-temporal/temporal-polyfill, this method also returns the most recent system time zone.But doing the same using the https://github.com/fullcalendar/temporal-polyfill, the returned time zone is the one that was set when the browser tab was last reloaded.
How to reproduce
Code
js-temporal/temporal-polyfill ✅
fullcalendar/temporal-polyfill ❌
The text was updated successfully, but these errors were encountered: