pub fn format_human(d: Duration) -> String
Expand description

Format duration for human read

assert_eq!("2days 0hour 0min 1s", format_human(Duration::from_secs(2 * 24 * 60 * 60 + 1)));