-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - DatePicker internationalization behavior #2842
Comments
Can you share your code or a stackblitz link? |
just run this and open the year and month selection start scrolling the years while watching the month after scrolling you will see the month words changes to another months system , it happens for other locals like Persian 'fa-IR' |
Hello there, |
Just an update. I'm working on it. |
After updating to newer version it has weirder behavior with .
It completely shows the years wrong. For example it should shows 1350 as a year but it shows 2550, almost 1200 years later. |
Any update for this issue? still has issue with "fa-IR" locale 😕. |
hey can u DM me at discord (id: wingkwong). i need to understand more on fa-IR. |
is it fixed? |
@ErfanMowlavian I made a PR. |
date picker month and year problem in fa-IR solved? i need help |
|
NextUI Version
2.3.5
Describe the bug
when I add Persian language to the datepicker it works fine but when I open the year input and scroll down the years then the months suddenly turn back to the default locale instead of the persian months
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
just do this and open year and keep scroll down the years untill you see the months changes
Expected behavior
do not change the month and it should stay in the desire locale
Screenshots or Videos
No response
Operating System Version
windows 10
Browser
Chrome
The text was updated successfully, but these errors were encountered: