Add missing datetime type

This commit is contained in:
Bart Visscher 2011-09-28 23:16:32 +02:00
parent 19d4121763
commit 45c983e899

View 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');