Skip to content

Formating dates does not work when using globals #869

Answered by amannn
SalahAdDin asked this question in Q&A
Discussion options

You must be logged in to vote

In the CodeSandbox you've provided, I can unfortunately not reproduce the issue:

Note that formats aren't automatically inherited by Client Components, maybe that's the issue you're seeing? In that case you can pass them explicitly to NextIntlClientProvider.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by SalahAdDin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@SalahAdDin
Comment options

@amannn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working unconfirmed Needs triage.
2 participants
Converted from issue

This discussion was converted from issue #868 on February 17, 2024 09:41.