Closed
Bug 527506
Opened 16 years ago
Closed 7 years ago
Two ecma3/Date tests failing in mac alone because of DST(mac bug)
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: trbaker, Assigned: dschaffe)
Details
transferred from:
http://bugs.adobe.com/jira/browse/ASC-2281
as:
function traceDate(d:Date) {
trace("UTC year = "+j.getUTCFullYear());
trace("UTC Month = "+j.getUTCMonth());
trace("UTC Date = "+j.getUTCDate());
trace("UTC Day = "+j.getUTCDay());
trace("UTC hours = "+j.getUTCHours());
trace("Full Year = "+(j.getFullYear()));
trace("Month = "+(j.getMonth()));
trace("Date = "+(j.getDate()));
trace("Day = "+(j.getDay()));
trace("Hours = "+(j.getHours()));
}
var j = new Date(0);
j.setUTCMonth(3,4);
traceDate(j);
trace('-------------');
j = new Date(0);
j.setUTCHours(0);
traceDate(j);
Actual Results:
(mac only)
Date.getHours((PST local time) -- should return GMT-8 during days with no daylight saving time and GMT-7 during days with daylight saving time). Returns hours which is behind date.getUTCHours() by 8 hrs on a date which is with in new DST in 2007 time(November 2nd 2140 and April 4th 1970)
Expected Results:
UTC year = 1970
UTC Month = 3
UTC Date = 4
UTC Day = 6
UTC hours = 0
Full Year = 1970
Month = 3
Date = 3
Day = 5
Hours = 17 // <---- on osx this is 16
-------------
UTC year = 1970
UTC Month = 0
UTC Date = 1
UTC Day = 4
UTC hours = 0
Full Year = 1969
Month = 11
Date = 31
Day = 3
Hours = 16
Comments:
Chris Peyer - [08/03/09 02:11 PM ]
Verified issue os x only.
Trevor Baker - [08/19/09 08:28 AM ]
Is this still an issue with 10.5.8?
Chris Peyer - [10/19/09 06:59 PM ]
Yes, still an issue w/ 10.5.8
Flags: flashplayer-qrb?
Comment 1•16 years ago
|
||
is bug 526665 a dup?
Comment 2•16 years ago
|
||
Bug #526665 so far applies only to the Southern hemisphere, but yeah, there could be a connection.
| Reporter | ||
Comment 3•16 years ago
|
||
Dan, let us know if this is a test code problem or not. Thanks.
Assignee: nobody → dschaffe
Status: NEW → ASSIGNED
Flags: flashplayer-qrb? → flashplayer-qrb+
Target Milestone: --- → flash10.1
Updated•16 years ago
|
Priority: -- → P3
| Reporter | ||
Updated•15 years ago
|
Flags: flashplayer-bug-
| Assignee | ||
Comment 4•15 years ago
|
||
confirmed bug still exists in 10.5.8 and 10.6. works correctly on windows. reproduced with build 5895:d078c2c9511e.
Flags: flashplayer-injection-
Priority: P3 → --
Target Milestone: Q3 11 - Serrano → Future
Comment 5•7 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•