diff --git a/kronolith/lib/Event.php b/kronolith/lib/Event.php index f2e8d719669..3ff669db8cd 100644 --- a/kronolith/lib/Event.php +++ b/kronolith/lib/Event.php @@ -1691,11 +1691,9 @@ public function toASAppointment(array $options = array()) } $message->setSubject($this->getTitle()); - $message->setDatetime(array( - 'start' => $this->start, - 'end' => $this->end, - 'allday' => $this->isAllDay()) - ); + $message->starttime = clone($this->start); + $message->endtime = clone($this->end); + $message->alldayevent = $this->isAllDay(); $message->setTimezone($this->start); // Organizer