Add timeZone configuration to next-intl
- Add timeZone='Europe/Madrid' to NextIntlClientProvider - Fixes ENVIRONMENT_FALLBACK warning about missing timeZone configuration - Ensures consistent timezone handling across SSR and client rendering
This commit is contained in:
parent
0378a8edd7
commit
eff0698acb
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ export function IntlProvider({ children }: IntlProviderProps) {
|
|||
}, [locale]);
|
||||
|
||||
return (
|
||||
<NextIntlClientProvider locale={locale} messages={localeMessages}>
|
||||
<NextIntlClientProvider locale={locale} messages={localeMessages} timeZone="Europe/Madrid">
|
||||
{children}
|
||||
</NextIntlClientProvider>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue