mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 23:14:47 +02:00
parent
7f12305f59
commit
122912d54b
@ -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");
|
|
Loading…
x
Reference in New Issue
Block a user