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
Copy file name to clipboardExpand all lines: spec/timezone.html
+1-28Lines changed: 1 addition & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -13,37 +13,10 @@ <h1>Amendments to the ECMAScript® 2024 Language Specification</h1>
13
13
Text to be added is marked <ins>like this</ins>, and text to be deleted is marked <del>like this</del>.
14
14
</p>
15
15
<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.
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-notetype="editor">
30
-
<p>
31
-
Updates to this abstract operation overlap with a Temporal PR (<ahref="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>
0 commit comments