Open
Bug 1300110
Opened 8 years ago
Updated 2 years ago
DateTime doesn't clear cache for different time zones with same tz-adjustment
Categories
(Core :: JavaScript Engine, defect, P3)
Core
JavaScript Engine
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox51 | --- | affected |
People
(Reporter: anba, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
text/x-c++src
|
Details |
This optimization [1] isn't correct. Two time zones may use the same offset, but still have different time zone rules, e.g. America/Denver and America/Phoenix. The attached test case is currently failing for America/Los_Angeles and America/Phoenix, but that's caused by bug 830304.
[1] http://hg.mozilla.org/mozilla-central/file/d5f20820c805/js/src/vm/DateTime.cpp#l158
Reporter | ||
Comment 1•8 years ago
|
||
There is a similar issue in DateObject::fillLocalTimeSlots(), updated the test case accordingly.
[1] http://hg.mozilla.org/mozilla-central/file/d5f20820c805/js/src/jsdate.cpp#l1253
Attachment #8787634 -
Attachment is obsolete: true
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•