From 7c417a57436497c47d0b950bc97af3a0d49712d8 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Wed, 4 Apr 2012 19:24:17 +0200 Subject: fixed js date function call --- views/default/event_calendar/full_calendar_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/event_calendar/full_calendar_view.php') 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; } -- cgit v1.2.3