pub fn parse_duration(text: &str) -> Result<Duration, String>
1500ms, 30s (or 30), 5m, 24h or 2d.
1500ms
30s
30
5m
24h
2d