Skip to main content

duration

Function duration 

Source
pub fn duration(secs: i64) -> String
Expand description

42s under a minute, 12m under an hour, 2h05m beyond. Negative spans (clock skew) show as zero.