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

Editorial: align time zone identifier text and AOs with ECMA-262 #876

Merged
merged 1 commit into from
Apr 25, 2024

Commits on Apr 3, 2024

  1. Editorial: align time zone text with ECMA-262

    This PR updates ECMA-402 spec text to align with current ECMA-262
    terminology and AOs for time zone identifiers. Changes include:
    
    * Replaces `DefaultTimeZone`,  `CanonicalizeTimeZoneName`, and
      `IsValidTimeZoneName` with calls to current ECMA-262 abstract
       operations.
    * Refactors `AvailableCanonicalTimeZones`  to call new ECMA-262 AOs, and
      renames it to `AvailablePrimaryTimeZoneIdentifiers`.
    * Adds a `GetAvailableNamedTimeZoneIdentifier` AO Temporal will
      eventually merge into ECMA-262, but it's not there yet so we need a
      copy here.
    * Replaces `#sec-time-zone-names with a "Use of the IANA Time Zone
      Database" section that extends ECMA-262's
      #sec-time-zone-identifiers section.
    * Adds a few paragraphs of editorial recommendations (borrowed from
      Temporal) about managing updates and builds of TZDB.
    justingrant committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    85c81cd View commit details
    Browse the repository at this point in the history