mirror of https://github.com/tc39/test262.git
13 lines
415 B
JavaScript
13 lines
415 B
JavaScript
// Copyright (C) 2022 Igalia, S.L. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
esid: sec-temporal.timezone
|
|
description: Time zone names are case insensitive
|
|
features: [Temporal]
|
|
---*/
|
|
|
|
const timeZone = 'eTc/gMt+1';
|
|
const result = new Temporal.TimeZone(timeZone);
|
|
assert.sameValue(result.toString(), 'Etc/GMT+1', `Time zone created from string "${timeZone}"`);
|