Norbert Lindenberg (2014-06-18T02:27:12.000Z)
The time zone the user wants to use, and therefore sets in the OS, is not always tied to the current location. For example, on a flight from San Francisco to Frankfurt I care about Pacific Time and Central European Time, but not the other time zones I fly over. There are also locations for which there is no well-defined mapping to a time zone, e.g., disputed border areas or regions where different population groups use different time zones.

Norbert


On Jun 17, 2014, at 18:00 , Andrea Giammarchi <andrea.giammarchi at gmail.com> wrote:

> 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 <domenic at 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 at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
> 
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
domenic at domenicdenicola.com (2014-06-26T15:47:43.450Z)
The time zone the user wants to use, and therefore sets in the OS, is not always tied to the current location. For example, on a flight from San Francisco to Frankfurt I care about Pacific Time and Central European Time, but not the other time zones I fly over. There are also locations for which there is no well-defined mapping to a time zone, e.g., disputed border areas or regions where different population groups use different time zones.