Closed Bug 513914 Opened 16 years ago Closed 16 years ago

ecma_5/Date/15.9.4.2.js failing

Categories

(Core :: JavaScript Engine, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 513115

People

(Reporter: jorendorff, Unassigned)

Details

It was checked in last Wednesday and I don't know if it ever passed. I suspect it's the test that is buggy, but either way we need to not let the tests stay broken for days and days like this. *-* Testcase ecma_5/Date/15.9.4.2.js failed: Bug Number 430930 Failure messages were: FAILED! [reported from test()] Date.parse('T19:53:21.001') == '1970-01-02T00:53:21.001Z' : Expected value '89601001', Actual value '93201001' FAILED! [reported from test()] Date.parse('T19:53:21') == '1970-01-02T00:53:21.000Z' : Expected value '89601000', Actual value '93201000' FAILED! [reported from test()] Date.parse('T19:53') == '1970-01-02T00:53:00.000Z' : Expected value '89580000', Actual value '93180000' -#- Wrote failures to 'results-2009-09-01-094251-smopt-failures.txt'. -#- Wrote results to 'results-2009-09-01-094251-smopt.html'. -#- 5 test(s) failed
This is a duplicate of Bug 513115. It is difficult to say as the specification is very under defined, but in my opinion the test is correct and the code is buggy. It works in any time zone except those where it is both the northern hemisphere and currently daylight saving time. That is, it works in the southern hemisphere at any time, and in the northern hemisphere in winter. I am on vacation until next week and don't have access to a machine that can build at the moment.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.