-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative: Add optional calendar to PlainTime, PlainYearMonth, and Pl…
…ainMonthDay productions This was mistakenly left out when we added calendar annotations to Temporal. Note that PlainTime currently only supports the iso8601 calendar and Temporal.PlainTime.from() will throw if any other calendar is specified in the calendar annotation. This keeps open the possibility to support more calendars in PlainTime in a future proposal. Note also that only the YYYY-MM-DD forms of PlainMonthDay and PlainYearMonth support calendar annotations. The YYYY-MM and MM-DD forms always require the iso8601 calendar, because otherwise there is no reference ISO year or reference ISO day, respectively. Closes: #1896 Closes: #1912
- Loading branch information
Showing
2 changed files
with
15 additions
and
15 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
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