Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normative: Limit time zone offset precision to minutes #3087

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -32221,7 +32221,7 @@ <h1>
<h1>DefaultTimeZone ( ): a String</h1>
<dl class="header">
<dt>description</dt>
<dd>It returns a String value representing the host environment's current time zone, which is either a String representing a UTC offset for which IsTimeZoneOffsetString returns *true*, or a String identifier accepted by GetNamedTimeZoneEpochNanoseconds and GetNamedTimeZoneOffsetNanoseconds.</dd>
<dd>It returns a String _id_ representing the host environment's current time zone as either an offset time zone or as an available named time zone identifier. In the former case, IsTimeZoneOffsetString(_id_) returns *true* and ParseTimeZoneOffsetString(_id_) returns an integer evenly divisible by 6 × 10<sup>10</sup> (i.e., any second and fractional second units in _id_ are 0). In the latter case, the result from AvailableNamedTimeZoneIdentifiers() contains a Time Zone Identifier Record _r_ such that _r_.[[Identifier]] is _id_, and _id_ is valid as the first argument to GetNamedTimeZoneEpochNanoseconds and GetNamedTimeZoneOffsetNanoseconds.</dd>
michaelficarra marked this conversation as resolved.
Show resolved Hide resolved
</dl>

<p>An ECMAScript implementation that includes the ECMA-402 Internationalization API must implement the DefaultTimeZone abstract operation as specified in the ECMA-402 specification.</p>
Expand Down