How to custom date format on agenda type month view

Hi, i’m using the EventCalendar with the following view settings:

agenda: { type: “month”, size: 3} , and the header is being shown as “October 2021 - December 2021”…Is there a way i can change this date format? I’d like to show something like this “Oct 2021 - Dec-2021”

Thanks

Hi @Nicolas_Marqui :wave:

There are two solutions for this:

  1. You can override the monthNames option like this: monthNames: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] - in this case the long month names will be shown with the short formats, but this will affect every date format in your project.

  2. Or you can fully customize the header and format the date accordingly.