Skip to main content

format_duration

Function format_duration 

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

Format a duration in seconds to a human-readable string ("5m", "2h 30m", etc.).