locale is not a consistent
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/iamkun/dayjs/blob/8035c8a760549b631252252718db3cdc4ab2f68f/src/locale/ru.js#L42
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
Contributor guide
Assessment
This issue has not been assessed yet.