Std.Human.duration
1 declaration
fn
duration: &Std.Time.Duration -> StrA duration written compactly, such as 1h30m, 2d4h, 45s, or 250ms.
Every unit from weeks down to milliseconds that is not zero appears, so the text is exact and parseDuration reads it back to the same duration. Use describe in Std.Time for a reading that drops milliseconds.
