Commit d903d06
committed
refactor: update duration parser to align with ISO 8601 standard
- Replaced naive parsing with structured component-based approach
- Enhanced both iso8601 and human-readable parsers with proper validation and unit order checks
- Added more tests, achieving 97.52% test coverage1 parent e400c6a commit d903d06
2 files changed
+453
-161
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments