I'm trying to change the format of the event dates in the start and end date inputs. Looking at the live demo example I see the config has dateFormat: 'DD MMM YYYY' but the live example doesn't display the dates in that format. Is this the correct config, if not how is it done in React?
export const calendarConfig = (profileId, isMobile) => {
return {
tbar: {
items: {
todayButton: false,
prevButton: false,
nextButton: false,
},
},
// Not enough space to show the sidebar with the month calendar indicator
// and calendar selector.
sidebar: false,
// Start life looking at this date
date: '2020-05-14',
// Used to create view titles
dateFormat: 'DD MMM YYYY',
// All modes re included by default.
// Each can be reconfigured from the default by using an object.
// Each may be omitted by configuring as false
modes: {
week: {
dayStartTime: 8,
},
day: {
dayStartTime: 8,
},
},
height: 700,
};
};