exposing system time zone

David Herman dherman at mozilla.com
Tue Jun 17 17:28:37 PDT 2014

This was brought up on specifiction:


Does anyone know why it was left out of the first version of the Intl API? Just for lack of time? Is it planned for the next edition? Are there tricky issues around standardizing IANA time zones, or around incompatibilities between different OSes?

Interesting questions in that thread about what to do about time zone changes. An event for time zone changes seems important, but we don't currently have any precedent for standard library events in ECMAScript. Maybe that remains the purview of web APIs. But if we do expose the TZ via a standard API, it should have some way of dynamically querying the current TZ rather than just fixing the time zone at some random point in time.


More information about the es-discuss mailing list