You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Editorial: Use "available time zone identifier" where appropriate
In a few places, we used "time zone identifier" (any string consisting of
allowed code units) where "available time zone identifier" would be
correct. Use that instead.
See: #3055
Copy file name to clipboardexpand all lines: spec/intl.html
+3-3
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ <h1>Use of the IANA Time Zone Database</h1>
38
38
39
39
<emu-notetype="editor">This section replaces the <ahref="https://tc39.es/ecma-402/#sec-time-zone-names">Time Zone Names</a> section in ECMA-402.</emu-note>
40
40
<p>
41
-
Implementations that adopt this specification are time zone aware: they use the IANA Time Zone Database <ahref="https://www.iana.org/time-zones/">https://www.iana.org/time-zones/</a> to supply time zone identifiers and data used in ECMAScript calculations and formatting.
41
+
Implementations that adopt this specification are time zone aware: they use the IANA Time Zone Database <ahref="https://www.iana.org/time-zones/">https://www.iana.org/time-zones/</a> to supply available time zone identifiers and data used in ECMAScript calculations and formatting.
42
42
This section defines how the IANA Time Zone Database should be used by time zone aware implementations.
43
43
</p>
44
44
<p>
@@ -84,7 +84,7 @@ <h1>Use of the IANA Time Zone Database</h1>
84
84
85
85
<emu-note>
86
86
<p>
87
-
The IANA Time Zone Database offers build options that affect which time zone identifiers are primary.
87
+
The IANA Time Zone Database offers build options that affect which available time zone identifiers are primary.
88
88
The default build options merge different countries' time zones, for example *"Atlantic/Reykjavik"* being a Link to the Zone *"Africa/Abidjan"*.
89
89
Geographically and politically distinct locations are likely to introduce divergent time zone rules in a future version of the IANA Time Zone Database.
90
90
Therefore, it is recommended that ECMAScript implementations instead use build options such as <code>PACKRATDATA=backzone PACKRATLIST=zone.tab</code> or a similar alternative that ensures at least one primary identifier for each <ahref="https://www.iso.org/glossary-for-iso-3166.html">ISO 3166-1 Alpha-2</a> country code.
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used for formatting.</li>
1643
1643
<li>[[Calendar]] is a String value representing the <ahref="https://unicode.org/reports/tr35/#UnicodeCalendarIdentifier">Unicode Calendar Identifier</a> used for formatting.</li>
1644
1644
<li>[[NumberingSystem]] is a String value representing the <ahref="https://unicode.org/reports/tr35/#UnicodeNumberSystemIdentifier">Unicode Number System Identifier</a> used for formatting.</li>
1645
-
<li>[[TimeZone]] is a String value used for formatting that is either atime zone identifier from the IANA Time Zone Database or a UTC offset in ISO 8601 extended format.</li>
1645
+
<li>[[TimeZone]] is a String value used for formatting that is <del>either a</del> <ins>an available</ins> time zone identifier <del>from the IANA Time Zone Database or a UTC offset in ISO 8601 extended format</del>.</li>
1646
1646
<li>[[HourCycle]] is a String value indicating whether the 12-hour format (*"h11"*, *"h12"*) or the 24-hour format (*"h23"*, *"h24"*) should be used. *"h11"* and *"h23"* start with hour 0 and go up to 11 and 23 respectively. *"h12"* and *"h24"* start with hour 1 and go up to 12 and 24.<del> [[HourCycle]] is only used when [[DateTimeFormat]] has an [[hour]] field.</del></li>
1647
1647
<li>[[DateStyle]], [[TimeStyle]] are each either *undefined*, or a String value with values *"full"*, *"long"*, *"medium"*, or *"short"*.</li>
1648
1648
<li>[[DateTimeFormat]] is a DateTime Format Record.</li>
0 commit comments