From c8e32e1b4d9c9746eac9faa97b4782cdc923c344 Mon Sep 17 00:00:00 2001 From: Michael J Rubinsky Date: Mon, 11 Aug 2014 13:04:22 -0400 Subject: [PATCH] Set properties individualy. --- kronolith/lib/Event.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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