Date vs Daylight Savings

Axel Hecht axel at mozilla.com
Mon Mar 21 10:01:24 PDT 2011


Southern Hemisphere? Would be my guess.

Axel

On 10.03.11 15:12, Luke Smith wrote:
> The consistent behavior across all browsers of Date when passed a time
> made invalid by a DST jump is to roll the time *back* by an hour.
> // On a system with Pacific TZ
> new Date(2011, 2, 13, 2, 0, 0, 0);
> Sun Mar 13 2011 01:00:00 GMT-0800 (PST)
>
> Mainly out of curiosity, is there a thread or a simple explanation of
> why back instead of forward? Am I incorrect in assuming most systems
> push the time forward?
>
> Thanks,
> L
>
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss


More information about the es-discuss mailing list