[Vuejs]-How to use EXDATE in Full Calendar via object option

3👍

In order for your exclusion rule to match the generated event, you must include the specific time as well. I expect this is because if you had events repeating multiple times in the day it wouldn’t know which one you were trying to exclude.

(If your events were “all-day” style events, without a specific start time, then setting just the date in exdate would be ok.)

Therefore, changing

rruleSet.exdate(new Date(Date.UTC(2019, 10, 22)));

to

rruleSet.exdate(new Date(Date.UTC(2019, 10, 22, 10, 30)));

will solve your problem

Demo: https://codepen.io/ADyson82/pen/jOORaOZ

👤ADyson

Leave a comment