Closed
Bug 1355272
Opened 7 years ago
Closed 7 years ago
time zone string wrong in javascript
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: kallard495, Unassigned)
Details
(Keywords: triage-deferred)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20170323105023 Steps to reproduce: Open the developer tools console. Type: Date(); // I found similar defects, but they were so old, I could not believe that this could be the same one. I don't know how to capture the version information you might need, so this is what I found in the "navigator" object. navigator.userAgent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0" navigator.buildID "20170323105023" It's current-patched Windows 7(amd64). Actual results: "Mon Apr 10 2017 17:25:07 GMT-0700 (Pacific Standard Time)" Expected results: "Mon Apr 10 2017 17:25:07 GMT-0700 (Pacific Daylight Time)"
Updated•7 years ago
|
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Updated•7 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Comment 1•7 years ago
|
||
Fixed in https://hg.mozilla.org/mozilla-central/rev/b7ef07909cc4 Before (Win10): new Date(2017, 4-1, 10, 17, 25, 7).toString() "Mon Apr 10 2017 17:25:07 GMT-0700 (Pacific Standard Time)" After (Win10): new Date(2017, 4-1, 10, 17, 25, 7).toString() "Mon Apr 10 2017 17:25:07 GMT-0700 (Pacific Daylight Time)"
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
•