Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-09-29 01:16:32 +0400
committerBart Visscher <bartv@thisnet.nl>2011-09-29 01:17:25 +0400
commit45c983e899388d78bf9b9087aa40f894ca8cf74e (patch)
tree0afa91a406d1efc5b4217e8be4b5bb3345ef8520 /apps/calendar
parent19d4121763d663ba048d4b0403a9b343d6f74e5d (diff)
Add missing datetime type
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/ajax/editeventform.php1
1 files changed, 1 insertions, 0 deletions
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');