odata-v4-parser icon indicating copy to clipboard operation
odata-v4-parser copied to clipboard

Support for parsing ISO 8601 duration format with only time component

Open meskolin opened this issue 3 years ago • 0 comments

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.

meskolin avatar Apr 14 '22 19:04 meskolin