I have two different eventSources for displaying events in FullCalendar - One from Google Calendar and another from Local Database.
Here are my event sources:
eventSources: [
{
url: $('#google_calendar_xml').val(), //Get google calendar url from element value
className: 'google-event'
},
{
url: '/planner/events',
className: 'local-event'
}
]
Both the event sources are working and events are being rendered perfectly. However, if the same event is created in Google Calendar and Full Calendar, I need to display only one event. To achieve this, I need a way to compare all the events for their title, start and end time from both sources.
I searched the FullCalendar documentation but could not find any function or way to achieve this.