Problem is, how to disable selectable on PAST DATES in fullcalendar\'s month/week view.
I want to user not allowed to click/select the on past dates.
In Fullcalendar i achieved it by dayClick event. I thought it is the simple way to do it.
Here is my code..
dayClick: function (date, cell) {
var current_date = moment().format('YYYY-MM-DD')
// date.format() returns selected date from fullcalendar
if(current_date <= date.format()) {
//your code
}
}
Hope it helps past and future dates will be unselectable..