Skip to content

Commit

Permalink
Set properties individualy.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 11, 2014
1 parent 91f1193 commit c8e32e1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions kronolith/lib/Event.php
Expand Up @@ -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
Expand Down

0 comments on commit c8e32e1

Please sign in to comment.