Closed Bug 1169330 Opened 10 years ago Closed 10 years ago

Date timezone appears to be wrong

Categories

(Core :: JavaScript: Standard Library, defect)

38 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 879261

People

(Reporter: rustinpw, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 Build ID: 20150513174244 Steps to reproduce: var current_date = new Date(); alert("current time is " + current_date.toString()); Actual results: Current date is 05/28 and I am in the Pacific timezone (PDT). Output from above code is: current time is Thu May 28 2015 10:05:21 GMT-0700 (Pacific Standard Time) Expected results: current time is Thu May 28 2015 10:05:21 GMT-0700 (Pacific Daylight Time)
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Component: Untriaged → JavaScript: Standard Library
Product: Firefox → Core
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.