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:
counterweight 2025-12-26 11:38:48 +01:00
parent 0378a8edd7
commit eff0698acb
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

@ -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>
);