-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
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!
ITimeParser parser = GetParser(); //likely provided via DI
TimeSpan span = parser.Parse("27:00:00");
Console.WriteLine(span); // 1.03:00:00Metadata
Metadata
Assignees
Labels
No labels