Commit 28c705f
committed
fix: handle midnight hour locale variance in getHourInTimezone tests
toLocaleString with hour12:false returns 24 for midnight in some
ICU/Node.js versions. Accept both 0 and 24 as valid midnight values.
https://claude.ai/code/session_01ARwvCNtoARh2bxKKbJs4mp1 parent 46497ea commit 28c705f
2 files changed
Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | | - | |
| 87 | + | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
0 commit comments