Closed Hasan-Mir closed 1 month ago
Almost two month later using version 2.4.2 and the issue still persists.
@MHBahrampour The fix will be available in the upcoming release v2.4.3.
@wingkwong Thanks. I really need it for my new project.
Following!
Closing - fixed in above PR. The fix will be available in the upcoming bug fix release v2.4.3.
NextUI Version
2.3.6
Describe the bug
When using a locale for the
DatePicker
component with theshowMonthAndYearPickers
enabled, the calendar locale changes while scrolling the years list.locale="fa-IR":
https://github.com/nextui-org/nextui/assets/62181905/5a8d3fa7-cf3c-4b7a-affc-d0f4159e5dfc
locale="hi-IN-u-ca-indian":
https://github.com/nextui-org/nextui/assets/62181905/f6e85369-10dd-4293-9722-352c474aa188
Your Example Website or App
https://codesandbox.io/p/devbox/friendly-leftpad-g56gcc?file=%2FApp.tsx&utm_medium=sandpack
Steps to Reproduce the Bug or Issue
locale
andshowMonthAndYearPickers
props.Expected behavior
It should not change the name of the months and the year from the selected locale to Gregorian.
Screenshots or Videos
No response
Operating System Version
Windows 10
Browser
Chrome