pub fn format_duration(duration: Duration) -> String
Converts a duration into human-readable format (hours, minutes, seconds)