]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add missing datetime type
authorBart Visscher <bartv@thisnet.nl>
Wed, 28 Sep 2011 21:16:32 +0000 (23:16 +0200)
committerBart Visscher <bartv@thisnet.nl>
Wed, 28 Sep 2011 21:17:25 +0000 (23:17 +0200)
apps/calendar/ajax/editeventform.php

index 47008e02e90aeeb85935a5741f5b0f9ffd2f9616..66b0b23568a119ad4d945350b7aab0e0a010ff6b 100644 (file)
@@ -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');