Closed jarlef closed 3 weeks ago
We also wrap the entire app with <I18nProvider locale="en-GB">
just to ensure the culture is correct
Turns out we have a duplicate package of react-aria which messes up the locale. Removing our local installed package fixed the locale
Describe the bug
The calendar in DatePicker displays wrong for browsers using en-US culture
Culture en-uS
The dates displays on the wrong day of week.
Culture no-NB
The dates displays on the correct day of week
In addition i have explicit configured the culture to en-GB on the date input to display the date format as dd/mm/yyyy and i would expect the calendar using the same culture.
NB We use en-GB as culture to display the date format as dd/mm/yyyy and not dd/mm/åååå to keep the date input in english