mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-12 00:50:41 +08:00
future/past classNames on day cells
This commit is contained in:
@@ -266,6 +266,12 @@ function BasicView(element, calendar, viewName) {
|
||||
tm + '-state-highlight'
|
||||
);
|
||||
}
|
||||
else if (date < today) {
|
||||
classNames.push('fc-past');
|
||||
}
|
||||
else {
|
||||
classNames.push('fc-future');
|
||||
}
|
||||
|
||||
html +=
|
||||
"<td" +
|
||||
|
||||
Reference in New Issue
Block a user