without reinventing the wheel or changing it, I think timezone is very close to geolocation so why not
navigator.geolocation.getTimeZone(*success*, *error*) asd navigator.geolocation.watchTimeZone(*success*, *error*) ? On Tue, Jun 17, 2014 at 5:31 PM, Domenic Denicola < dome...@domenicdenicola.com> wrote: > > 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. > > Object.observe change records? A synthetic change event seems perfect for > this use case. > > (Related, although not what I'm suggesting above: > http://amasad.me/2014/03/16/why-im-excited-about-objectobserve "Evented > Programming" header.) > _______________________________________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss