Ordinal not work in zh, ja language
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
dayjs().format('MMM DD') in some locales such as zh, zh-cn, zh-tw,ja will return '1月 31' not '1月 31日'
**Expected behavior**
return ''1月 31日"
**Information**
- Day.js Version [1.11.10]
- OS: [Android. iOS]
- Time zone: [GMT+07:00 DST (Pacific Daylight Time)]
Contributor guide
Research direction
Reproduce dayjs().format('MMM DD') for zh, zh-cn, zh-tw, and ja using Day.js 1.11.10, then locate the locale-specific formatting entry points. Compare the current output with the expected date suffix, and add coverage showing that these locales return the expected localized day marker.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100