Skip to main content

format_duration

Function format_duration 

Source
pub fn format_duration(total_secs: u32) -> String
Expand description

Format seconds as human-readable duration (e.g., “31m 35s”, “2h 15m 3s”).