-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative: Allow annotations after YYYY-MM and MM-DD
In keeping with the IXDTF format which extends the grammar of RFC 3339 with any number of annotations, we should allow annotations after the short YYYY-MM PlainYearMonth and MM-DD PlainMonthDay forms. If we were to allow UTC offsets ±UU[:UU] alongside the time zone annotation, that would be ambiguous in one case: YYYY-MM-UU would be ambiguous with YYYY-MM-DD. This forced us to take another look at ISO 8601 and realize that YYYY-MM-DD-UU and YYYY-MM-DDZ are actually not defined by ISO 8601. Although they are not forbidden either, but we don't have any reason to introduce this notation given the set of Temporal types. Therefore, UTC offsets are disallowed after any date-only notation (that is, YYYY-MM-DD, YYYY-MM, and MM-DD.) Closes: #2379
- Loading branch information
Showing
1 changed file
with
29 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters