pub fn duration_human(secs: i64) -> String
Render a duration in seconds as 42s / 3m12s / 1h05m.
42s
3m12s
1h05m
Values <= 0 render as —.
<= 0
—