Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

German dot not appearing in ordinal months #1434

Open
AlbertMontolio opened this issue Mar 29, 2021 · 1 comment
Open

German dot not appearing in ordinal months #1434

AlbertMontolio opened this issue Mar 29, 2021 · 1 comment

Comments

@AlbertMontolio
Copy link

Describe the bug
When trying to display a german month like Feb., using format Do MMM, dot does not appear.

Expected behavior
When using Do, Feb. should be displayed instead of Feb.

Information

Day.js Version: 1.10.4
OS: Mac

I am using

import localizedFormat from 'dayjs/plugin/localizedFormat'
dayjs(date).format(dateFormat)

Not sure if dayjs supports ordinals for months. If yes, which one is the syntax?

@josephzidell
Copy link

@AlbertMontolio have you tried .format('Do MMM.')?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants