Hi I am working on rails4 project and I want to disable all national holidays and weekend dates in my pickadate. Or I have to use pickdate.js I am not getting how to do this. I have done the following for disabling the weekends.
$( '.new_leave_datepicker' ).pickadate({
selectMonths: true,
selectYears: 25,
disable: [
1,7
],
min: Date.now()
});
Its working fine for this but how to do for national holidays that am not getting. I am having table holidays in which I have holidaydates. Please guide what steps I have to follow for this. Thanks in advance.