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: Support 'T' prefix in time-only strings and require it in cases of ambiguity #1952

Merged
merged 3 commits into from
Dec 17, 2021

Commits on Dec 17, 2021

  1. Normative: Allow 'T' prefix in time-only strings

    This prefix should always have been allowed according to ISO 8601. We had
    neglected to implement it.
    
    See: #1765
    ptomato committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    5b924bd View commit details
    Browse the repository at this point in the history
  2. Normative: Disallow date-only strings for PlainTime

    These now need to be parsed as follows:
    Temporal.PlainDateTime.from(string).toPlainTime()
    
    See #1765
    ptomato committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    7c90708 View commit details
    Browse the repository at this point in the history
  3. Normative: Require 'T' prefix for ambiguous time-only strings

    ISO 8601 requires the 'T' prefix in cases where the time-only
    representation is ambiguous.
    
    Closes: #1765
    ptomato committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    bc4b64c View commit details
    Browse the repository at this point in the history