diff --git a/features.txt b/features.txt index cba84fb484..95b34248e3 100644 --- a/features.txt +++ b/features.txt @@ -92,6 +92,10 @@ import-defer # https://github.com/tc39/proposal-iterator-sequencing iterator-sequencing +# Time Zone Canonicalization +# https://github.com/tc39/proposal-canonical-tz +canonical-tz + ## Standard language features # # Language features that have been included in a published version of the diff --git a/test/intl402/DateTimeFormat/timezone-case-insensitive.js b/test/intl402/DateTimeFormat/timezone-case-insensitive.js index 34705d3646..6fc91b8fa0 100644 --- a/test/intl402/DateTimeFormat/timezone-case-insensitive.js +++ b/test/intl402/DateTimeFormat/timezone-case-insensitive.js @@ -4,6 +4,7 @@ /*--- esid: sec-initializedatetimeformat description: Time zone identifiers are case-normalized +features: [canonical-tz] ---*/ const timeZoneIdentifiers = [ diff --git a/test/intl402/DateTimeFormat/timezone-not-canonicalized.js b/test/intl402/DateTimeFormat/timezone-not-canonicalized.js index 26a195ea38..e2964f617f 100644 --- a/test/intl402/DateTimeFormat/timezone-not-canonicalized.js +++ b/test/intl402/DateTimeFormat/timezone-not-canonicalized.js @@ -4,6 +4,7 @@ /*--- esid: sec-initializedatetimeformat description: Time zone identifiers are not canonicalized before storing in internal slots +features: [canonical-tz] ---*/ const baseOptions = { diff --git a/test/intl402/Temporal/ZonedDateTime/etc-timezone.js b/test/intl402/Temporal/ZonedDateTime/etc-timezone.js index 955edf6539..c7663beb0e 100644 --- a/test/intl402/Temporal/ZonedDateTime/etc-timezone.js +++ b/test/intl402/Temporal/ZonedDateTime/etc-timezone.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime 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 diff --git a/test/intl402/Temporal/ZonedDateTime/from/argument-valid.js b/test/intl402/Temporal/ZonedDateTime/from/argument-valid.js index ff897d932a..9d847eb1a9 100644 --- a/test/intl402/Temporal/ZonedDateTime/from/argument-valid.js +++ b/test/intl402/Temporal/ZonedDateTime/from/argument-valid.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime.from description: Built-in time zones are parsed correctly out of valid strings -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const valids = [ diff --git a/test/intl402/Temporal/ZonedDateTime/from/do-not-canonicalize-iana-identifiers.js b/test/intl402/Temporal/ZonedDateTime/from/do-not-canonicalize-iana-identifiers.js index 0aa6aad8ff..d32280825b 100644 --- a/test/intl402/Temporal/ZonedDateTime/from/do-not-canonicalize-iana-identifiers.js +++ b/test/intl402/Temporal/ZonedDateTime/from/do-not-canonicalize-iana-identifiers.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime.from 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]'); diff --git a/test/intl402/Temporal/ZonedDateTime/from/etc-timezone.js b/test/intl402/Temporal/ZonedDateTime/from/etc-timezone.js index 4afd6ec3d5..0e98f05fe2 100644 --- a/test/intl402/Temporal/ZonedDateTime/from/etc-timezone.js +++ b/test/intl402/Temporal/ZonedDateTime/from/etc-timezone.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime.from 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 diff --git a/test/intl402/Temporal/ZonedDateTime/from/timezone-case-insensitive.js b/test/intl402/Temporal/ZonedDateTime/from/timezone-case-insensitive.js index 6e767418d4..6fe4f9ce6a 100644 --- a/test/intl402/Temporal/ZonedDateTime/from/timezone-case-insensitive.js +++ b/test/intl402/Temporal/ZonedDateTime/from/timezone-case-insensitive.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime.from description: Time zone identifiers are case-normalized -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const timeZoneIdentifiers = [ diff --git a/test/intl402/Temporal/ZonedDateTime/iana-legacy-names.js b/test/intl402/Temporal/ZonedDateTime/iana-legacy-names.js index 7306570cee..523c22c956 100644 --- a/test/intl402/Temporal/ZonedDateTime/iana-legacy-names.js +++ b/test/intl402/Temporal/ZonedDateTime/iana-legacy-names.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: IANA legacy names must be supported -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const legacyNames = [ diff --git a/test/intl402/Temporal/ZonedDateTime/links-asia.js b/test/intl402/Temporal/ZonedDateTime/links-asia.js index d7e30a1509..716f6e8410 100644 --- a/test/intl402/Temporal/ZonedDateTime/links-asia.js +++ b/test/intl402/Temporal/ZonedDateTime/links-asia.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: ZonedDateTime constructor accepts link names as time zone ID input -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const testCases = [ diff --git a/test/intl402/Temporal/ZonedDateTime/links-backward.js b/test/intl402/Temporal/ZonedDateTime/links-backward.js index 2589861fdd..b2aed8b760 100644 --- a/test/intl402/Temporal/ZonedDateTime/links-backward.js +++ b/test/intl402/Temporal/ZonedDateTime/links-backward.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: ZonedDateTime constructor accepts link names as time zone ID input -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const testCases = [ diff --git a/test/intl402/Temporal/ZonedDateTime/links-backzone.js b/test/intl402/Temporal/ZonedDateTime/links-backzone.js index f2017e0e96..694b6a4348 100644 --- a/test/intl402/Temporal/ZonedDateTime/links-backzone.js +++ b/test/intl402/Temporal/ZonedDateTime/links-backzone.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: ZonedDateTime constructor accepts link names as time zone ID input -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const testCases = [ diff --git a/test/intl402/Temporal/ZonedDateTime/links-etcetera.js b/test/intl402/Temporal/ZonedDateTime/links-etcetera.js index 1eeff08dbc..b69d23a25d 100644 --- a/test/intl402/Temporal/ZonedDateTime/links-etcetera.js +++ b/test/intl402/Temporal/ZonedDateTime/links-etcetera.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: ZonedDateTime constructor accepts link names as time zone ID input -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const testCases = [ diff --git a/test/intl402/Temporal/ZonedDateTime/links-europe.js b/test/intl402/Temporal/ZonedDateTime/links-europe.js index 36eb1c04de..35af5c3c25 100644 --- a/test/intl402/Temporal/ZonedDateTime/links-europe.js +++ b/test/intl402/Temporal/ZonedDateTime/links-europe.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: ZonedDateTime constructor accepts link names as time zone ID input -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const testCases = [ diff --git a/test/intl402/Temporal/ZonedDateTime/links-northamerica.js b/test/intl402/Temporal/ZonedDateTime/links-northamerica.js index 91141cc974..ec3e4444e5 100644 --- a/test/intl402/Temporal/ZonedDateTime/links-northamerica.js +++ b/test/intl402/Temporal/ZonedDateTime/links-northamerica.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: ZonedDateTime constructor accepts link names as time zone ID input -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const testCases = [ diff --git a/test/intl402/Temporal/ZonedDateTime/non-canonical-utc.js b/test/intl402/Temporal/ZonedDateTime/non-canonical-utc.js index 082797f48b..e7f4d1e393 100644 --- a/test/intl402/Temporal/ZonedDateTime/non-canonical-utc.js +++ b/test/intl402/Temporal/ZonedDateTime/non-canonical-utc.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: ZonedDateTime constructor accepts link names as time zone ID input -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const testCases = [ diff --git a/test/intl402/Temporal/ZonedDateTime/timezone-case-insensitive.js b/test/intl402/Temporal/ZonedDateTime/timezone-case-insensitive.js index 2b6578bdec..6d1ce58eba 100644 --- a/test/intl402/Temporal/ZonedDateTime/timezone-case-insensitive.js +++ b/test/intl402/Temporal/ZonedDateTime/timezone-case-insensitive.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: Time zone names are case-normalized -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const timeZone = 'eTc/gMt+1'; diff --git a/test/intl402/Temporal/ZonedDateTime/timezone-ids-basic.js b/test/intl402/Temporal/ZonedDateTime/timezone-ids-basic.js index b461240f77..cbbd48e529 100644 --- a/test/intl402/Temporal/ZonedDateTime/timezone-ids-basic.js +++ b/test/intl402/Temporal/ZonedDateTime/timezone-ids-basic.js @@ -4,7 +4,7 @@ /*--- esid: sec-temporal.zoneddatetime description: Basic tests for time zone IDs -features: [Temporal] +features: [Temporal, canonical-tz] ---*/ const valid = [