react-component / react-component/picker
Why the locale ko-KR uses dayFormat 'Do' as other locales don't?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 304
- Forks
- 345
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 7
Description
I found the issue when I updated antd v5.8.0 to v5.16.0.
I saw v5.14.0 support that DatePicker all date-related information in the panel will allow configuration through locale.
The reason that dayFormat in rc-picker is configured as 'Do', when I set ConfigProvider locale prop option on koKR, UI changes like below.
Before
After
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ko-KR locale configuration and the dayFormat value introduced for localized DatePicker panel content. Reproduce the change through the antd ConfigProvider locale option and compare the ko-KR display with other locale configurations. Done means the Korean date display uses the intended format and a regression test covers it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, internationalization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100