aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cdav_calendar.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-06-18 19:40:00 +0000
committerMario <mario@mariovavti.com>2020-06-18 19:40:00 +0000
commit64f8df0a0d0e450351e81df79212bf0c83376316 (patch)
treee23a272bee7e5cd5c082748103c3a955af955369 /view/tpl/cdav_calendar.tpl
parentf28c3b441e0017444b74fbe45cd1b2b6cc7b6584 (diff)
downloadvolse-hubzilla-64f8df0a0d0e450351e81df79212bf0c83376316.tar.gz
volse-hubzilla-64f8df0a0d0e450351e81df79212bf0c83376316.tar.bz2
volse-hubzilla-64f8df0a0d0e450351e81df79212bf0c83376316.zip
looks like fullcalendar now requires a date object instead of a string
Diffstat (limited to 'view/tpl/cdav_calendar.tpl')
-rw-r--r--view/tpl/cdav_calendar.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl
index 01739dd5b..28cd11b2e 100644
--- a/view/tpl/cdav_calendar.tpl
+++ b/view/tpl/cdav_calendar.tpl
@@ -100,7 +100,7 @@ $(document).ready(function() {
$('#event_submit').val('create_event').html('{{$create}}');
$('#event_delete').hide();
- new_event = { id: new_event_id, title: 'New event', start: info.date.toUTCString(), end: dtend ? dtend.toUTCString() : '', allDay: info.allDay, editable: true, color: '#bbb' };
+ new_event = { id: new_event_id, title: 'New event', start: info.date, end: dtend ? dtend : '', allDay: info.allDay, editable: true, color: '#bbb' };
calendar.addEvent(new_event);
},