Hello,
I want to color specific days based on dates I have in an array. I tried modifying one of the samples:
scheduler.templates.month_date_class=function(date,today){
if ($.inArray(date.getDate(),slots_in_days) != -1){
return "";
}else{
return "good_day";
}
}
where slots_in_days is the array. In this example, slots_in_days has [11,12,13], so the 11th, 12th, and 13th of the month are not colored, and everything else is.
While this works, it does the same thing for every month. Could someone help me modify the code so that I can somehow compare the full date so that only the 11,12,and 13th of, say, December 2016 is not colored? Thank you for the help.