Open meskolin opened 2 years ago
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.
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.