diff --git a/src/agenda/AgendaView.js b/src/agenda/AgendaView.js
index 6e5d88a..d8d0f1f 100644
--- a/src/agenda/AgendaView.js
+++ b/src/agenda/AgendaView.js
@@ -388,6 +388,12 @@ function AgendaView(element, calendar, viewName) {
'fc-today'
);
}
+ else if (date < today) {
+ classNames.push('fc-past');
+ }
+ else {
+ classNames.push('fc-future');
+ }
cellHTML =
"
" +
diff --git a/src/basic/BasicView.js b/src/basic/BasicView.js
index 94b8065..dec59a2 100644
--- a/src/basic/BasicView.js
+++ b/src/basic/BasicView.js
@@ -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 +=
" |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|