Closed
Description
🐛 Bug Report
Viewing the Calendar
component or using any of the underlying Stately hooks returns Sunday as first day of the week for en-AU
where as it should be Monday.
🤔 Expected Behavior
To show Monday as first day of week
😯 Current Behavior
Its showing Sunday as first day of week
💁 Possible Solution
A possible fix is to include AU
in this list https://github.com/adobe/react-spectrum/blob/main/packages/%40internationalized/date/src/weekStartData.ts
Or get an updated version of the list from:
https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-core/supplemental/weekData.json
🌍 Your Environment
Software | Version(s) |
---|---|
@internationalized/date | 3.2.0 |
Browser | Safari 16.4 |
Operating System | macOS Ventura 13.3.1 (a) |