79216619

Date: 2024-11-22 21:32:21
Score: 0.5
Natty:
Report link

Solved with this code...

var events = [];
for (var i=0; i < calendarCount; i++) {
           
            events.push({
            title: calendarObject[i].title,
            start: new Date(calendarObject[i].startDate * 1000),
            end: new Date(calendarObject[i].endDate * 1000),
            allDay: calendarObject[i].isAllDay,
            color: calendarObject[i].color
            }); 

}

and then 'events: events' in the calendar setup

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MartyMcFly