diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-04-04 19:24:17 +0200 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-04-04 19:24:17 +0200 |
commit | 7c417a57436497c47d0b950bc97af3a0d49712d8 (patch) | |
tree | dec9506f009e15d8036c2d1f3dfc3dbc03fc9a2f /views/default | |
parent | 10219dcdb85679e2d835d5f164ae025b1dedc291 (diff) | |
download | elgg-7c417a57436497c47d0b950bc97af3a0d49712d8.tar.gz elgg-7c417a57436497c47d0b950bc97af3a0d49712d8.tar.bz2 |
fixed js date function call
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/event_calendar/full_calendar_view.php | 2 |
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; } |