desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #87514
[Bug 1401212] Re: Date.toString() timezone self contradictory for DST edge cases
Unfortunate line wrap so clarifying in this comment (and fixing bracket
match)
(new Date(1396141200000)).toString() returns
Mar 30 2014 02:00:00 GMT+0100 (GMT)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1401212
Title:
Date.toString() timezone self contradictory for DST edge cases
Status in firefox package in Ubuntu:
New
Bug description:
A pair of DST change edge cases where the string contradicts itself.
(new Date(1396141200000).toString() returns Mar 30 2014 02:00:00 GMT+0100 (GMT)
GMT+0100 is BST, not GMT
Similarly for 1414281600000 when DST changes the other way.
Other times in their vicinity get the time zone correct. My guess would be a '<' '<=' comparison mistake when searching the TZ database.
Firefox 34.0.
Ubuntu 14.04 with latest patches
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1401212/+subscriptions
References