-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Provide a general summary of the issue here
Placeholder date values are missing for Norwegian Bokmål, but exist for Norwegian Nynorsk (which is otherwise not supported) and the generic Norwegian "no" language code
🤔 Expected Behavior?
Datepickers with the locale "nb" should show "dd.mm.åååå" as placeholder
😯 Current Behavior
Datepickers with the locale "nb" show the English "dd.mm.yyyy" as placeholder
💁 Possible Solution
An entry for nb is missing in react-spectrum/packages/@react-stately/datepicker/src/placeholders.ts
, it should have an identical one to nn and no.
nb: {year: 'åååå', month: 'mm', day: 'dd'},
🔦 Context
No response
🖥️ Steps to Reproduce
https://stackblitz.com/edit/vitejs-vite-ehzaj81g?file=Datepicker.tsx
Version
react-aria-components 1.10.1
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
No labels