Cannot read properties of undefined (reading 'formatDate')

Solution 1:

this is old version

$.fullCalendar.formatDate(event.start, "Y-MM-DD HH:mm:ss");

Solution:

moment(event.start, 'DD.MM.YYYY').format('YYYY-MM-DD HH:mm:ss')