Skip to content

Commit

Permalink
chore: Add timeZone in next-intl
Browse files Browse the repository at this point in the history
  • Loading branch information
aXenDeveloper committed Oct 31, 2023
1 parent 4c9c313 commit d8aa9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default async function LocaleLayout({ children, params: { locale } }: Pro
return (
<html lang={locale} className={montserrat.className}>
<body>
<NextIntlClientProvider locale={locale} messages={messages}>
<NextIntlClientProvider locale={locale} messages={messages} timeZone="Europe/Warsaw">
<Provider>
<Layout>{children}</Layout>
</Provider>
Expand Down

1 comment on commit d8aa9a3

@vercel
Copy link

@vercel vercel bot commented on d8aa9a3 Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.