pub fn format_duration(d: Duration) -> String
Mm SSs for sub-hour, Hh MMm for an hour or more. Matches the example in doc/usage/sessions.md (0m44s, 2m18s, 6m02s, 1h05m).
Mm SSs
Hh MMm
doc/usage/sessions.md
0m44s
2m18s
6m02s
1h05m