pub fn format_duration(seconds: i64) -> String
Format a duration in seconds to a human-readable string