Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

de-DE weekday/time formats don't match native browser implementation #332

Open
romandecker opened this issue Aug 14, 2019 · 0 comments
Open

Comments

@romandecker
Copy link

romandecker commented Aug 14, 2019

Example:

new Intl.DateTimeFormat('de-DE', {weekday: 'short', hour: 'numeric'})
  .format(new Date('2019-08-14T05:36:24.200Z'))

Chrome/Firefox: Mi, 07 Uhr
Intl (@1.2.5): Mi., 7

This is particularly problematic when doing SSR, where we polyfill Intl on the server (to get all locales), but rely on the native browser implementation on the client.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant