dayjs
dayjs copied to clipboard
Feature request: More localized formats
I'm trying to show in a calendar the month and year only but depending on the locale the month can be on the first place or at the end.
I've checked in the docs (https://day.js.org/docs/en/display/format#localized-formats) but it seems there isn't an option with year and month only.
dayjs().format("LL")` // December 7, 2022
// what I would like to get: December 2022 or 2022 December (depending on the locale)
What I want is possible to do with the current version of DayJS? If so could you tell me how please? If not could you implement more localized formats (like a month and year format only)?
Thanks in advance
Information
- Day.js Version 1.11.6
- OS: Win
- Browser Chrome
- Time zone: GMT