exposing system time zone

Mark S. Miller erights at google.com
Tue Jun 17 19:35:51 PDT 2014


On Tue, Jun 17, 2014 at 7:27 PM, Norbert Lindenberg <
ecmascript at lindenbergsoftware.com> wrote:

> 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.
>

This same issue applies to geolocation and to absolute time. I want the
computer to think it is where and when I tell it that it should think it is.

However, this does kill my observation that the polling could be very
infrequent. There's no limit to the speed users can change their minds;
especially since the "user" in question isn't necessarily human.



>
> 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
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>



-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140617/dd075dd9/attachment-0001.html>


More information about the es-discuss mailing list