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
Currently, TimeSpan.Parse freaks out if you don't use fractional values (1.3:00:00 is valid, but 27:00:00 is not). This is not intuitive and can lead to disappointing results if you don't remember the "rules". We need something better!
ITimeParserparser= GetParser();//likely provided via DITimeSpanspan= parser.Parse("27:00:00");
Console.WriteLine(span);// 1.03:00:00
The text was updated successfully, but these errors were encountered:
Currently,
TimeSpan.Parse
freaks out if you don't use fractional values (1.3:00:00
is valid, but27:00:00
is not). This is not intuitive and can lead to disappointing results if you don't remember the "rules". We need something better!The text was updated successfully, but these errors were encountered: