Skip to main content

format_duration_stats

Function format_duration_stats 

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

Format a duration in seconds as a human-readable string for stats.

Examples: “5s”, “3m 24s”, “1h 5m 30s”