We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://next-intl-docs.vercel.app/docs/usage/configuration#time-zone
From the page:
// Regular components import {useTimeZone} from 'next-intl'; const messages = useTimeZone(); // Async Server Components import {getTimeZone} from 'next-intl/server'; const timeZone = await getTimeZone();
For consistency the above should be: const timeZone = useTimeZone();
const timeZone = useTimeZone();
The text was updated successfully, but these errors were encountered:
529ce6e
Of course, yes—thanks for noticing! 😊
Sorry, something went wrong.
No branches or pull requests
Link to page
https://next-intl-docs.vercel.app/docs/usage/configuration#time-zone
Describe the problem
From the page:
For consistency the above should be:
const timeZone = useTimeZone();
The text was updated successfully, but these errors were encountered: