mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-27 11:22:18 +08:00
let each cell know its date via data-date attribute
This commit is contained in:
@@ -238,6 +238,7 @@ function BasicView(element, calendar, viewName) {
|
||||
cell.removeClass(tm + '-state-highlight fc-today');
|
||||
}
|
||||
cell.find('div.fc-day-number').text(date.getDate());
|
||||
cell.attr('data-date', $.fullCalendar.formatDate(date, "yyyyMMdd"));
|
||||
if (dowDirty) {
|
||||
setDayID(cell, date);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user