mirror of https://github.com/tc39/test262.git
Add feature tag for "Time Zone Canonicalization"
This commit is contained in:
parent
2ea91c02d0
commit
75fddbd694
|
@ -92,6 +92,10 @@ import-defer
|
||||||
# https://github.com/tc39/proposal-iterator-sequencing
|
# https://github.com/tc39/proposal-iterator-sequencing
|
||||||
iterator-sequencing
|
iterator-sequencing
|
||||||
|
|
||||||
|
# Time Zone Canonicalization
|
||||||
|
# https://github.com/tc39/proposal-canonical-tz
|
||||||
|
canonical-tz
|
||||||
|
|
||||||
## Standard language features
|
## Standard language features
|
||||||
#
|
#
|
||||||
# Language features that have been included in a published version of the
|
# Language features that have been included in a published version of the
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-initializedatetimeformat
|
esid: sec-initializedatetimeformat
|
||||||
description: Time zone identifiers are case-normalized
|
description: Time zone identifiers are case-normalized
|
||||||
|
features: [canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const timeZoneIdentifiers = [
|
const timeZoneIdentifiers = [
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-initializedatetimeformat
|
esid: sec-initializedatetimeformat
|
||||||
description: Time zone identifiers are not canonicalized before storing in internal slots
|
description: Time zone identifiers are not canonicalized before storing in internal slots
|
||||||
|
features: [canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const baseOptions = {
|
const baseOptions = {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: Some Etc/GMT{+/-}{0}N timezones are valid, but not all
|
description: Some Etc/GMT{+/-}{0}N timezones are valid, but not all
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// "Etc/GMT-0" through "Etc/GMT-14" are OK
|
// "Etc/GMT-0" through "Etc/GMT-14" are OK
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.from
|
esid: sec-temporal.zoneddatetime.from
|
||||||
description: Built-in time zones are parsed correctly out of valid strings
|
description: Built-in time zones are parsed correctly out of valid strings
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const valids = [
|
const valids = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.from
|
esid: sec-temporal.zoneddatetime.from
|
||||||
description: ZonedDateTime.from does not canonicalize time zone IDs
|
description: ZonedDateTime.from does not canonicalize time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const calcutta = Temporal.ZonedDateTime.from('2020-01-01T00:00:00+05:30[Asia/Calcutta]');
|
const calcutta = Temporal.ZonedDateTime.from('2020-01-01T00:00:00+05:30[Asia/Calcutta]');
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.from
|
esid: sec-temporal.zoneddatetime.from
|
||||||
description: Some Etc/GMT{+/-}{0}N timezones are valid, but not all
|
description: Some Etc/GMT{+/-}{0}N timezones are valid, but not all
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
// "Etc/GMT-0" through "Etc/GMT-14" are OK
|
// "Etc/GMT-0" through "Etc/GMT-14" are OK
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime.from
|
esid: sec-temporal.zoneddatetime.from
|
||||||
description: Time zone identifiers are case-normalized
|
description: Time zone identifiers are case-normalized
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const timeZoneIdentifiers = [
|
const timeZoneIdentifiers = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: IANA legacy names must be supported
|
description: IANA legacy names must be supported
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const legacyNames = [
|
const legacyNames = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: ZonedDateTime constructor accepts link names as time zone ID input
|
description: ZonedDateTime constructor accepts link names as time zone ID input
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const testCases = [
|
const testCases = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: ZonedDateTime constructor accepts link names as time zone ID input
|
description: ZonedDateTime constructor accepts link names as time zone ID input
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const testCases = [
|
const testCases = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: ZonedDateTime constructor accepts link names as time zone ID input
|
description: ZonedDateTime constructor accepts link names as time zone ID input
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const testCases = [
|
const testCases = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: ZonedDateTime constructor accepts link names as time zone ID input
|
description: ZonedDateTime constructor accepts link names as time zone ID input
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const testCases = [
|
const testCases = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: ZonedDateTime constructor accepts link names as time zone ID input
|
description: ZonedDateTime constructor accepts link names as time zone ID input
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const testCases = [
|
const testCases = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: ZonedDateTime constructor accepts link names as time zone ID input
|
description: ZonedDateTime constructor accepts link names as time zone ID input
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const testCases = [
|
const testCases = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: ZonedDateTime constructor accepts link names as time zone ID input
|
description: ZonedDateTime constructor accepts link names as time zone ID input
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const testCases = [
|
const testCases = [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: Time zone names are case-normalized
|
description: Time zone names are case-normalized
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const timeZone = 'eTc/gMt+1';
|
const timeZone = 'eTc/gMt+1';
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/*---
|
/*---
|
||||||
esid: sec-temporal.zoneddatetime
|
esid: sec-temporal.zoneddatetime
|
||||||
description: Basic tests for time zone IDs
|
description: Basic tests for time zone IDs
|
||||||
features: [Temporal]
|
features: [Temporal, canonical-tz]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const valid = [
|
const valid = [
|
||||||
|
|
Loading…
Reference in New Issue