Duration Formats - cressie176/Load64 GitHub Wiki
LoadC64 uses human-readable duration strings for time-based configuration parameters such as autosave frequency and retention.
Duration strings consist of one or more number-unit pairs where:
- Numbers can be integers or decimals
- Units are standard abbreviations (e.g.,
s,m,h,d) - Multiple units can be combined (e.g.,
1h30m)
| Duration String | Meaning |
|---|---|
10s |
10 seconds |
5m |
5 minutes |
1h |
1 hour |
2d |
2 days |
1h30m |
1 hour and 30 minutes |
2m30s |
2 minutes and 30 seconds |
LoadC64 uses the humantime Rust library for duration parsing. Refer to the library documentation for complete format specifications and validation details.