Commit 14b5210
fix: restore explicit "original" -> "en" fallback in LocalDaytime
Restore the pre-existing workaround (and its comment) that defaults the
locale to "en" when it is "original", to avoid the server/client
hydration mismatch on `localValue`. The centralized `normalizeIntlLocale`
covers Intl call sites, but this component-level guard is what keeps
SSR and CSR producing the same string here.
Co-authored-by: Nikita <93587872+ncarazon@users.noreply.github.com>1 parent 6d0303c commit 14b5210
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
0 commit comments