Open
Description
When using the DateRangePicker component with the Thai calendar (th-u-ca-buddhist locale), the days change automatically when updating the year. This behavior is unexpected and leads to incorrect date selections.
π€ Expected Behavior?
The selected days should remain consistent when updating the year.
π― Current Behavior
The selected days change automatically when the year is updated.
π Possible Solution
π¦ Context
This issue is reproducible only when the Provider has the th-u-ca-buddhist locale set:
<Provider
locale={"th-u-ca-buddhist"}
colorScheme="light"
theme={defaultTheme}
>
<DateRangePicker />
</Provider>
π₯οΈ Steps to Reproduce
Steps to Reproduce:
- Set the locale to th-u-ca-buddhist in the Provider.
- Open the DateRangePicker component.
- Select a date range.
- Update the year in the calendar.
Screen.Recording.2024-06-12.at.09.13.52.mov
Version
3.34.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