pub fn format_time_long(seconds: f64) -> StringExpand description
Format time in seconds to HH:MM:SS or MM:SS display string
Automatically chooses format based on duration:
- Less than 1 hour: Returns MM:SS format
- 1 hour or more: Returns HH:MM:SS format
§Arguments
seconds- Time in seconds
§Returns
Formatted string like “1:23:45” or “3:45”
§Example
let short = format_time_long(225.0); // "3:45"
let long = format_time_long(5025.0); // "1:23:45"