From: Simon McVittie Date: Wed, 30 Oct 2024 09:41:58 +0000 Subject: js/src/tests: Avoid using legacy MST time zone name 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. Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1928015 Bug-Debian: https://bugs.debian.org/1086298 Signed-off-by: Simon McVittie Forwarded: https://bugzilla.mozilla.org/show_bug.cgi?id=1928015 --- js/src/tests/non262/Date/parse-dashed-numeric-date.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/tests/non262/Date/parse-dashed-numeric-date.js b/js/src/tests/non262/Date/parse-dashed-numeric-date.js index b6a0d1e..0f3acb0 100644 --- a/js/src/tests/non262/Date/parse-dashed-numeric-date.js +++ b/js/src/tests/non262/Date/parse-dashed-numeric-date.js @@ -4,7 +4,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -inTimeZone("MST", () => { +inTimeZone("Etc/GMT+7", () => { // The upper limit is from the TimeClip algorithm: // https://tc39.es/ecma262/#sec-timeclip // https://tc39.es/ecma262/#sec-utc-t