jquense / react-big-calendar

gcal/outlook like calendar component
http://jquense.github.io/react-big-calendar/examples/index.html
MIT License
7.93k stars 2.25k forks source link

Luxon localizer has problem displaying Month in Chinese language #2185

Open RemLawrence opened 2 years ago

RemLawrence commented 2 years ago

Clear and concise description of the problem

When choosing Chinese/Japanese for calendar, in the header, the luxon localizer will only display the number of the months (e.g. 6 2017), instead of the actual localized month (e.g. 六月 2017) Read the issue from luxon side: https://github.com/moment/luxon/issues/628

Suggested solution

This line should be LLLL yyyy instead.

Alternative

No response

Additional context

No response

Validations

Would you like to open a PR for this feature?

cutterbl commented 2 years ago

As a temporary fix, you can apply your own monthHeaderFormat

RemLawrence commented 2 years ago

Yes, already did that. Just want to point it out for future reference. Thanks!