diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-29 01:16:32 +0400 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-09-29 01:17:25 +0400 |
commit | 45c983e899388d78bf9b9087aa40f894ca8cf74e (patch) | |
tree | 0afa91a406d1efc5b4217e8be4b5bb3345ef8520 | |
parent | 19d4121763d663ba048d4b0403a9b343d6f74e5d (diff) |
Add missing datetime type
-rw-r--r-- | apps/calendar/ajax/editeventform.php | 1 |
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'); |