From: Bart Visscher Date: Wed, 28 Sep 2011 21:16:32 +0000 (+0200) Subject: Add missing datetime type X-Git-Tag: v3.0~101^2~53 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=45c983e899388d78bf9b9087aa40f894ca8cf74e;p=nextcloud-server.git Add missing datetime type --- diff --git a/apps/calendar/ajax/editeventform.php b/apps/calendar/ajax/editeventform.php index 47008e02e90..66b0b23568a 100644 --- a/apps/calendar/ajax/editeventform.php +++ b/apps/calendar/ajax/editeventform.php @@ -31,6 +31,7 @@ $dtstart = $vevent->DTSTART; $dtend = $vevent->DTEND; switch($dtstart->getDateType()) { case Sabre_VObject_Element_DateTime::LOCALTZ: + case Sabre_VObject_Element_DateTime::LOCAL: $startdate = $dtstart->getDateTime()->format('d-m-Y'); $starttime = $dtstart->getDateTime()->format('H:i'); $enddate = $dtend->getDateTime()->format('d-m-Y');