future/past classNames on day cells

This commit is contained in:
Adam Shaw
2013-07-29 23:33:38 -07:00
parent 1c802475ea
commit ff3e590d2f
3 changed files with 115 additions and 0 deletions
+6
View File
@@ -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" +