Server Side formatting #1995
Unanswered
programm-ingovals
asked this question in
Q&A
Replies: 1 comment 3 replies
-
In the thread you've linked to, there's some relevant information here: #1708 (comment) If the issue appears because of a browser bug, potentially another option for you could be to either find a locale config that avoids the issue or if it's an option, ensure that the formatting only runs in RSC. There's also more on this here: Reliable date formatting in Next.js |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is the Formatter not available server side?
How does hydration work here? Is the server side rendering using Intl.Formatter ?
Taking a look at this issue f.e.
1708
Hydration is failing on Chrome when using format on the client side.
Icelandic has the same issue, is-IS just isn´t supported in Chromium and making a ticket is not a good suggestions since one has existed for a decade and nothing happens.
This is one of the main reasons I reach for a library like Next-Intl. There might be a translation plan as well, but formatting numbers and dates is the main issue.
So what is going on here server side?
Beta Was this translation helpful? Give feedback.
All reactions