Skip to content

Commit 3d82510

Browse files
committed
Remove SystemTimeZoneIdentifier changes from spec
tc39/proposal-temporal#2607 was approved in the July 2023 TC39 meeting, which removes the need for this proposal to change SystemTimeZoneIdentifier.
1 parent 7fab2bb commit 3d82510

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

spec/timezone.html

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,37 +13,10 @@ <h1>Amendments to the ECMAScript® 2024 Language Specification</h1>
1313
Text to be added is marked <ins>like this</ins>, and text to be deleted is marked <del>like this</del>.
1414
</p>
1515
<p>
16-
The changes below are limited to the SystemTimeZoneIdentifier abstract operation, the %Temporal.TimeZone% built-in object, and the abstract operations related to that object.
16+
The changes below are limited to the %Temporal.TimeZone% built-in object and the abstract operations related to that object.
1717
</p>
1818
</emu-note>
1919

20-
<emu-clause id="sec-systemtimezoneidentifier" oldids="sec-defaulttimezone" type="implementation-defined abstract operation">
21-
<h1>SystemTimeZoneIdentifier ( ): a String</h1>
22-
<dl class="header">
23-
<dt>description</dt>
24-
<dd>
25-
It returns a String representing the host environment's current time zone, which is either a primary time zone identifier or an offset time zone identifier.
26-
</dd>
27-
</dl>
28-
29-
<emu-note type="editor">
30-
<p>
31-
Updates to this abstract operation overlap with a Temporal PR (<a href="https://github.com/tc39/proposal-temporal/pull/2607">#2607 - Normative: Limit offset time zones to minutes precision</a>) being presented in the July 2023 TC39 meeting.
32-
If that PR is approved, SystemTimeZoneIdentifier changes will be removed from this proposal.
33-
</p>
34-
</emu-note>
35-
36-
<emu-alg>
37-
1. If the implementation only supports the UTC time zone, return *"UTC"*.
38-
1. Let _systemTimeZoneString_ be the String representing the host environment's current time zone, either a primary time zone identifier or an offset time zone identifier.
39-
1. <ins>Let _offsetNanoseconds_ be ! ParseTimeZoneIdentifier(_systemTimeZoneString_).</ins>
40-
1. <ins>If _offsetNanoseconds_ is not ~empty~, return FormatOffsetTimeZoneIdentifier(_offsetNanoseconds_, ~separated~).</ins>
41-
1. Return _systemTimeZoneString_.
42-
</emu-alg>
43-
44-
<p>[...]</p>
45-
</emu-clause>
46-
4720
<emu-clause id="sec-temporal-timezone-objects">
4821
<h1>Temporal.TimeZone Objects</h1>
4922

0 commit comments

Comments
 (0)