Changed format of date passed to FullCalendar.