Skip to main content

fmt_duration

Function fmt_duration 

Source
pub fn fmt_duration(secs: f64) -> String
Expand description

Format seconds as human-readable duration: 125.3 -> "2m 5.3s".