react-component / react-component/picker

Why the locale ko-KR uses dayFormat 'Do' as other locales don't?

Open
#785 0 comments 0 reactions 0 assignees View on GitHub

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.

image

Before
image

After
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.