aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2012-04-04 19:24:17 +0200
committerKevin Jardine <kevinjardine@yahoo.com>2012-04-04 19:24:17 +0200
commit7c417a57436497c47d0b950bc97af3a0d49712d8 (patch)
treedec9506f009e15d8036c2d1f3dfc3dbc03fc9a2f
parent10219dcdb85679e2d835d5f164ae025b1dedc291 (diff)
downloadelgg-7c417a57436497c47d0b950bc97af3a0d49712d8.tar.gz
elgg-7c417a57436497c47d0b950bc97af3a0d49712d8.tar.bz2
fixed js date function call
-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;
}