pub fn parse_duration(s: &str) -> Result<Duration, String>
Parse a single duration like 45s, 30m, 2h, 3d, 1w, 2mo.
45s
30m
2h
3d
1w
2mo