-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
locale is not a consistent #900
Comments
You can now get correct locale part via: |
this does not correct the situation when ru locale format is different from all others, but it is better than nothing, thanks! |
That's because |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dayjs/src/locale/ru.js
Line 42 in 8035c8a
locale is not uniform format for different languages.
due to the fact that in ru locale months and monthsShort not simple arrays of strings
https://ant.design/components/date-picker/ does not fully supported ru locale , see
https://github.com/react-component/picker/blob/e7403734d8cde9c9403ae00c83c4da34625ede57/src/generate/dayjs.ts#L90
I propose to add monthStandalone and monthShortStandalone props to locale
and make a choice in a separate function
The text was updated successfully, but these errors were encountered: