4
Question
React hydration fails only when I format a date in production
Actual result
The server renders 28/08/2026, but some browsers render 8/28/2026 during hydration.
export function PublishedAt({ date }: { date: Date }) {
return <time>{date.toLocaleDateString()}</time>;
}
The error disappears after client navigation. How can I keep the date accessible and avoid hiding the warning?