Closed
Bug 1284507
Opened 8 years ago
Closed 7 years ago
Azores wrong timezone (GMT+2300 instead of GMT-0100)
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: ivodaveiga, Unassigned)
References
Details
(Keywords: triage-deferred)
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID: 20160704004008 Steps to reproduce: 1. Set the system timezone to Azores (UTC-01:00) 2. Open the console and write: (new Date(2017,2,25,0,0,0)).toString(); Actual results: "Sat Mar 25 2017 00:00:00 GMT+2300" Expected results: "Sat Mar 25 2017 00:00:00 GMT-0100"
At October 30, 23 hours are skiped instead of 1 >> (new Date(2016,9,30,0,0,0)).toString() "Sun Oct 30 2016 00:00:00 GMT+0000" >> (new Date(2016,9,30,23,0,0)).toString() "Sun Oct 30 2016 00:00:00 GMT+0000"
Also affects: Linux (Linux Mint 17.3 Rosa)
>> (new Date(2017,2,25,0,0,0)).toString();
"Sat Mar 25 2017 00:00:00 GMT+2300 (AZOT)"
Updated•8 years ago
|
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Updated•7 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Comment 3•7 years ago
|
||
Fixed in https://hg.mozilla.org/mozilla-central/rev/b7ef07909cc4 Before (Win10): (new Date(2017,2,25,0,0,0)).toString() "Sat Mar 25 2017 00:00:00 GMT+2300 (Azores Daylight Time)" (new Date(2016,9,30,0,0,0)).toString() "Sun Oct 30 2016 00:00:00 GMT+0000 (Azores Standard Time)" (new Date(2016,9,30,23,0,0)).toString() "Sun Oct 30 2016 00:00:00 GMT+0000 (Azores Standard Time)" After (Win10): (new Date(2017,2,25,0,0,0)).toString() "Sat Mar 25 2017 00:00:00 GMT-0100 (Azores Standard Time)" (new Date(2016,9,30,0,0,0)).toString() "Sun Oct 30 2016 00:00:00 GMT+0000 (Azores Daylight Time)" (new Date(2016,9,30,23,0,0)).toString() "Sun Oct 30 2016 23:00:00 GMT-0100 (Azores Standard Time)" Before (Ubuntu): (new Date(2017,2,25,0,0,0)).toString() "Sat Mar 25 2017 00:00:00 GMT+2300 (AZOT)" (new Date(2016,9,30,0,0,0)).toString() "Sun Oct 30 2016 00:00:00 GMT+0000 (AZOT)" (new Date(2016,9,30,23,0,0)).toString() "Sun Oct 30 2016 00:00:00 GMT+0000 (AZOT)" After (Ubuntu): (new Date(2017,2,25,0,0,0)).toString() "Sat Mar 25 2017 00:00:00 GMT-0100 (AZOT)" (new Date(2016,9,30,0,0,0)).toString() "Sun Oct 30 2016 00:00:00 GMT+0000 (AZOST)" (new Date(2016,9,30,23,0,0)).toString() "Sun Oct 30 2016 23:00:00 GMT-0100 (AZOT)"
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•