I have set user's availability by recurring event for every Sunday that user is not available. If the user provides data for specific Sunday that he/she is available for particular Sunday than how can I replace that recurring event for that particular day by that specific day event.
Please help me out. For example :
const events = [
{
title: 'Not Available',
allDay: true,
dow: [0,6],
type: 'general',
// className: 'unavailable',
},
{
title: 'Available',
allDay: false,
start: '2019-02-02',
end: '2019-02-02',
type: 'specific',
// className: 'unavailable',
},
];
In this example user is not available for all sunday and saturday but on specific saturday dated as "2019-02-02" he/she available than i want to show only specific event not recurring event.
Thank you in advance.