You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow duration literals without date component (#394)
## Usage and product changes
We modify the grammar to accept a `duration_literal` without a date
component (e.g. `PT1S`) as per the standard.
## Implementation
The valid duration literals are:
- `"P" ~ duration_weeks`
- `"P" ~ duration_date`
- `"P" ~ duration_date ~ "T" ~ duration_time`
- `"PT" ~ duration_time`
The last option was missing from the grammar.
0 commit comments