Skip to content

Conversation

@meskolin
Copy link

Currently Duration parsing is failing if duration only contains a time component, not a date component.

However, it is still a valid ISO 8601 duration if the string only has a time component, such as duration'PT2H'.

Modified primativeLiteral.ts to handle this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant