Closed
Bug 479027
Opened 15 years ago
Closed 8 years ago
Firefox returns incorrect Date object for some system timezones
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 411726
People
(Reporter: omar, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6 Under the following timezones (selected from the Date & Time OS X pref pane): Caracas - Venezuela Colombo - Sri Lanka Firefox creates a Date object that is one day ahead of what it should be. Reproducible: Always Steps to Reproduce: 1. Set system timezone to 'Caracas - Venezuela' or 'Colombo - Sri Lanka'. 2. Create a new Date object in Firefox (new Date()). Actual Results: For 'Caracas - Venezuela': Thu Feb 19 2009 07:07:07 GMT+1930 (WILDABBR) For 'Colombo - Sri Lanka': Thu Feb 19 2009 17:05:10 GMT+2930 (IST) Expected Results: For 'Caracas - Venezuela': Wed Feb 18 2009 07:07:07 GMT-0430 (from Opera 10.0) For 'Colombo - Sri Lanka': Wed Feb 18 2009 17:05:10 GMT+0530 (from Opera 10.0) These tests were conducted under Mac OS X 10.5.6 with all updates applied. The date is shown correctly in the system time display and through invocation of the 'date' program in a shell. The problem also occurs under Safari 3.2.1 (5525.27.1). The problem does not occur under Opera 10 on OS X.
Updated•15 years ago
|
Component: General → DOM: Core & HTML
Product: Firefox → Core
QA Contact: general → general
(Partial) duplicate of bug 411726?
Comment 2•8 years ago
|
||
(In reply to zug_treno from comment #1) > (Partial) duplicate of bug 411726? you would think
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•