Skip to main content

format_duration

Function format_duration 

Source
pub fn format_duration(secs: u64) -> String
Expand description

Format a duration in seconds into human-readable (e.g., “2h 14m”).