Closed Bug 1928015 Opened 1 year ago Closed 5 months ago

js/src/tests/non262/Date/parse-dashed-numeric-date.js relies on legacy MST time zone

Categories

(Core :: JavaScript: Standard Library, defect, P3)

Firefox 128
defect

Tracking

()

RESOLVED FIXED
147 Branch

People

(Reporter: smcv, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

Build Spidermonkey 128.4.0 (or 128.3.0) on a Debian unstable (development/rolling release) system, with tzdata 2024b-3, and without installing tzdata-legacy

Actual results:

non262/Date/parse-dashed-numeric-date.js: rc = 3, run time = 0.011593

/<<PKGBUILDDIR>>/js/src/tests/non262/Date/parse-dashed-numeric-date.js:119:13 Error: Assertion failed: got 568962338400000, expected 568962313200000: "19999-09-12 22:00:00 GMT-0800" should be Sun Sep 12 19999 23:00:00 GMT+0000 (GMT) (got Mon Sep 13 19999 06:00:00 GMT+0000 (GMT)).
Stack:
@/<<PKGBUILDDIR>>/js/src/tests/non262/Date/parse-dashed-numeric-date.js:119:13
inTimeZone@/<<PKGBUILDDIR>>/js/src/tests/non262/Date/shell.js:95:13
@/<<PKGBUILDDIR>>/js/src/tests/non262/Date/parse-dashed-numeric-date.js:7:11
TEST-UNEXPECTED-FAIL | non262/Date/parse-dashed-numeric-date.js | (args: "") [0.0 s]

Expected results:

tests pass

The MST time zone name only exists in tzdata for compatibility with
Unix System V, and was moved to a legacy section in tzdata commit
a0b09c0 "Mark CET, CST6CDT etc. as obsolescent". On recent
Debian and Ubuntu systems, the time zones affected by this change
are only available if the additional tzdata-legacy package is installed.

Blocks: sm-testing
Severity: -- → S3
Priority: -- → P3

Fixed as part of the ICU update in bug 2000225.

Status: UNCONFIRMED → RESOLVED
Closed: 5 months ago
Duplicate of bug: 2000225
Resolution: --- → DUPLICATE
Depends on: 2000225
No longer duplicate of bug: 2000225
Resolution: DUPLICATE → FIXED
Target Milestone: --- → 147 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: