| 1 |
From: Simon McVittie <[email protected]> |
| 2 |
Date: Wed, 30 Oct 2024 09:41:58 +0000 |
| 3 |
Subject: js/src/tests: Avoid using legacy MST time zone name |
| 4 |
|
| 5 |
The MST time zone name only exists in tzdata for compatibility with |
| 6 |
Unix System V, and was moved to a legacy section in tzdata commit |
| 7 |
a0b09c0 "Mark CET, CST6CDT etc. as obsolescent". On recent |
| 8 |
Debian and Ubuntu systems, the time zones affected by this change |
| 9 |
are only available if the additional tzdata-legacy package is installed. |
| 10 |
|
| 11 |
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1928015 |
| 12 |
Bug-Debian: https://bugs.debian.org/1086298 |
| 13 |
Signed-off-by: Simon McVittie <[email protected]> |
| 14 |
Forwarded: https://bugzilla.mozilla.org/show_bug.cgi?id=1928015 |
| 15 |
--- |
| 16 |
js/src/tests/non262/Date/parse-dashed-numeric-date.js | 2 +- |
| 17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 18 |
|
| 19 |
diff --git a/js/src/tests/non262/Date/parse-dashed-numeric-date.js b/js/src/tests/non262/Date/parse-dashed-numeric-date.js |
| 20 |
index b6a0d1e..0f3acb0 100644 |
| 21 |
--- a/js/src/tests/non262/Date/parse-dashed-numeric-date.js |
| 22 |
+++ b/js/src/tests/non262/Date/parse-dashed-numeric-date.js |
| 23 |
@@ -4,7 +4,7 @@ |
| 24 |
* License, v. 2.0. If a copy of the MPL was not distributed with this |
| 25 |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 26 |
|
| 27 |
-inTimeZone("MST", () => { |
| 28 |
+inTimeZone("Etc/GMT+7", () => { |
| 29 |
// The upper limit is from the TimeClip algorithm: |
| 30 |
// https://tc39.es/ecma262/#sec-timeclip |
| 31 |
// https://tc39.es/ecma262/#sec-utc-t |