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
Describe the bug
From LUIS, I get a Timex valued PT0.5H. I'd like to parse the string with this library, but the parts (i.e. hours) must be an int. See code.
To Reproduce
Steps to reproduce the behavior:
Parse a Timex from the string PT0.5H via TimexResolver.Resolve(new[] { "PT0.5H });
A ThrowOverflowOrFormatException is thrown.
Expected behavior
The timex is parsed properly.
Platform (please complete the following information):
Platform: C#
Environment: nuget package
Version of package: 1.8.8
The text was updated successfully, but these errors were encountered:
Describe the bug
From LUIS, I get a Timex valued
PT0.5H
. I'd like to parse the string with this library, but the parts (i.e. hours) must be anint
. See code.To Reproduce
Steps to reproduce the behavior:
PT0.5H
viaTimexResolver.Resolve(new[] { "PT0.5H });
ThrowOverflowOrFormatException
is thrown.Expected behavior
The timex is parsed properly.
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: