Skip to content

Commit a1994ff

Browse files
aphillipsmacchiatieemeli
authored
Create option timezone as Proposed REQUIRED option (#950)
* Create option `timezone` as Proposed REQUIRED option This still has the ABNF for time zone ID, which should disappear as soon as I can replace it with something formal. * Update spec/registry.md Co-authored-by: Mark Davis <[email protected]> * Update spec/registry.md Co-authored-by: Eemeli Aro <[email protected]> * Address comments about ABNF etc. * Address "proposed" --------- Co-authored-by: Mark Davis <[email protected]> Co-authored-by: Eemeli Aro <[email protected]>
1 parent f8cbd5d commit a1994ff

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

spec/registry.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,10 @@ override values set by the current locale,
10891089
or provided by the _formatting context_ (such as the default time zone),
10901090
or embedded in an implementation-defined date/time _operand_ value.
10911091
1092+
> [!NOTE]
1093+
> These _options_ do not have default values because they are only to be used
1094+
> as overrides for locale-and-value dependent implementation-defined defaults.
1095+
10921096
The following _option_ and its values are REQUIRED to be available on
10931097
the functions `:datetime` and `:time`:
10941098
@@ -1104,7 +1108,22 @@ the functions `:datetime`, `:date`, and `:time`.
11041108
- `numberingSystem`
11051109
- valid [Unicode Number System Identifier](https://cldr-smoke.unicode.org/spec/main/ldml/tr35.html#UnicodeNumberSystemIdentifier)
11061110
1111+
The following _option_ and its values are **Proposed** for
1112+
inclusion in the next release of this specification but have not yet been
1113+
finalized.
1114+
If accepted, implementations could be REQUIRED to make this _option_
1115+
available in the functions `:datetime`, `:date`, and `:time`.
1116+
1117+
- `timeZone`
1118+
- A valid time zone identifier
1119+
(see [TZDB](https://www.iana.org/time-zones)
1120+
and [LDML](https://www.unicode.org/reports/tr35/tr35-dates.html#Time_Zone_Names)
1121+
for information on identifiers)
1122+
- `local`
1123+
- `UTC`
1124+
11071125
> [!NOTE]
1108-
> These _options_ do not have default values because they are only to be used
1109-
> as overrides for locale-and-value dependent implementation-defined defaults.
1110-
1126+
> The value `local` permits a _message_ to convert a date/time value
1127+
> into a [floating](https://www.w3.org/TR/timezone/#floating) time value
1128+
> (sometimes called a _plain_ or _local_ time value) by removing
1129+
> the association with a specific time zone.

0 commit comments

Comments
 (0)