aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/event_calendar/full_calendar_view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/event_calendar/full_calendar_view.php b/views/default/event_calendar/full_calendar_view.php
index 2c97eb159..6c21c42c8 100644
--- a/views/default/event_calendar/full_calendar_view.php
+++ b/views/default/event_calendar/full_calendar_view.php
@@ -37,7 +37,7 @@ getISODate = function(d) {
var year = d.getFullYear();
var month = d.getMonth()+1;
month = month < 10 ? '0' + month : month;
- var day = d.getDay()+1;
+ var day = d.getDate();
day = day < 10 ? '0' + day : day;
return year +"-"+month+"-"+day;
}