odata-v4-parser
odata-v4-parser copied to clipboard
Support for parsing ISO 8601 duration format with only time component
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.