Skip to main content

format_elapsed

Function format_elapsed 

Source
pub fn format_elapsed(seconds: f64) -> String
Expand description

Format a duration the way the progress lines print it: “45s”, “12 min”.