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: specify time zone ID requirements to reduce divergence between engines #877

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on May 31, 2024

  1. Normative: Align time zone IDs across engines

    This PR resolves tc39#825 by adding spec text that more clearly defines
    how ECMA-402 implementations should decide which IANA time zone IDs
    should be primary vs. non-primary.
    
    This PR implements "Option C" in tc39#825 by deterministically defining
    ECMAScript's exceptions from the IANA Time Zone Database's defaults,
    and then pointing implementers at ICU as a convenient implementation
    of those exceptions.
    
    This PR also accommodates to web reality by aligning the 402 spec text
    with the existing behavior of ICU and CLDR while providing deterministic
    rules that can guide future changes in CLDR data.
    
    Finally, this PR introduces a new StringSplitToList abstract operation
    and uses it to simplify AvailableNamedTimeZoneIdentifiers and
    IsWellFormedUnitIdentifier.
    justingrant committed May 31, 2024
    Configuration menu
    Copy the full SHA
    d6852fa View commit details
    Browse the repository at this point in the history