Add timezonechange event to Window and WorkerGlobalScope

Adds a timezonechange event and ontimezonechange event handler to Window and WorkerGlobalScope.

The current timezone is visible to JavaScript and changes over time. Changes may be useful to note, for example, in a long-running calendar or mail application that may want to update dates and times without refreshing when the user resumes using the application after travel. Currently, to accomplish that, a webapp has to poll, for example, by repeatedly call Intl.DateTimeFormat().resolvedOptions().timeZone.

Documentation

Specification

Working draft or equivalent

Status in Chromium

Blink


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2020-03-25