-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Labels
C-datetimeComponent: datetime, calendars, time zonesComponent: datetime, calendars, time zonesS-mediumSize: Less than a week (larger bug fix or enhancement)Size: Less than a week (larger bug fix or enhancement)T-enhancementType: Nice-to-have but not requiredType: Nice-to-have but not requiredhelp wantedIssue needs an assigneeIssue needs an assignee
Milestone
Description
We should add a function that parses ISO-8601 strings. We should follow the Temporal grammar:
i.e., we should implement a string parser conforming to IETF Sedate that parses a string into its components (date, time, time zone, calendar), and use this parser in APIs and anywhere else we parse date strings. Think about where to put this code in the crate structure.
We should start with the DateTime production, and work our way up towards CalendarDateTime and TemporalZonedDateTimeString.
Examples of strings that are accepted as part of the DateTime grammar:
2022-06-27T16:31:00.0002022-06-27t16:31:00.0002022-06-27 16:31:00.00020220627 16:31:00.00020220627 163100.00020220627 16310020220627 1631
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-datetimeComponent: datetime, calendars, time zonesComponent: datetime, calendars, time zonesS-mediumSize: Less than a week (larger bug fix or enhancement)Size: Less than a week (larger bug fix or enhancement)T-enhancementType: Nice-to-have but not requiredType: Nice-to-have but not requiredhelp wantedIssue needs an assigneeIssue needs an assignee