Advanced Format
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
The day of the month ordinal format doesn't work properly.
```
case 'Do':
return locale.ordinal(this.$D)
```
This returns for example 17o and not 17th. The transformation doesn't work.
**Expected behavior**
I expect that the ordinal gets properly encoded.
**Information**
- Day.js Version v1.11.7
- OS: Mac OS 13.2.1
- Browser: Chrome 109.0.5414.119
- Time zone: EST New York
Contributor guide
Assessment
This issue has not been assessed yet.