Commit 5fd3a60
committed
fix(useDate): fall back to deprecated weekInfo when getWeekInfo is unavailable
deriveFirstDayOfWeek only checked Intl.Locale.getWeekInfo(), which is
absent on the older ICU shipped with current LTS Node. The v0 date
adapter already handles both forms; mirror that fallback in the helper so
locale-driven first-day derivation works in CI.1 parent c8f0448 commit 5fd3a60
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
| |||
0 commit comments