Remove invalid test that offset time zone are unsupported

Fixes #4339
This commit is contained in:
André Bargull 2024-12-12 18:16:49 +01:00 committed by Philip Chimento
parent 7f12305f59
commit 122912d54b
1 changed files with 0 additions and 11 deletions

View File

@ -1,11 +0,0 @@
// Copyright (C) 2023 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-temporal.zoneddatetime.prototype.tolocalestring
description: Offset time zones are not supported yet by Intl
features: [Temporal]
---*/
const datetime = new Temporal.ZonedDateTime(0n, "+00:00");
assert.throws(RangeError, () => datetime.toLocaleString(), "Intl.DateTimeFormat does not yet specify what to do with offset time zones");