pub fn to_iso8601(input: &str) -> Result<String, String>Expand description
Parse 1h30m, 45m, 2d, 1w, or an ISO 8601 duration, into ISO 8601.
Weeks and days are what people log time in; Tracker counts a working day as
8 hours and a working week as 5 days, and it does that conversion itself, so
P1D is passed through as a day rather than turned into 24 hours here.
ยงErrors
Returns a message naming what was not understood.