From 64f8df0a0d0e450351e81df79212bf0c83376316 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 18 Jun 2020 19:40:00 +0000 Subject: looks like fullcalendar now requires a date object instead of a string --- view/tpl/cdav_calendar.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view') 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); }, -- cgit v1.2.3