pub fn duration_to_string(duration: u32) -> String
Converts a duration in seconds to a string in the format “HH:MM:SS”.