diff --git a/code/Calendar.php b/code/Calendar.php index 75c38a4..3f948c9 100755 --- a/code/Calendar.php +++ b/code/Calendar.php @@ -380,6 +380,9 @@ public function getFeedEvents($start_date, $end_date) { || $startdatetime > $end && $enddatetime > $end) { // do nothing; dates outside range } else { + $startdatetime = $this->iCalDateToDateTime($event['DTSTART']); + $enddatetime = $this->iCalDateToDateTime($event['DTEND']); + $feedevent->StartDate = $startdatetime->format('Y-m-d'); $feedevent->StartTime = $startdatetime->format('H:i:s');