MDL-37624 calendar: Added location support
This commit is contained in:
@@ -211,6 +211,11 @@ foreach($events as $event) {
|
||||
|
||||
$ev->add_property('class', 'PUBLIC'); // PUBLIC / PRIVATE / CONFIDENTIAL
|
||||
$ev->add_property('last-modified', Bennu::timestamp_to_datetime($event->timemodified));
|
||||
|
||||
if (!empty($event->location)) {
|
||||
$ev->add_property('location', $event->location);
|
||||
}
|
||||
|
||||
$ev->add_property('dtstamp', Bennu::timestamp_to_datetime()); // now
|
||||
if ($event->timeduration > 0) {
|
||||
//dtend is better than duration, because it works in Microsoft Outlook and works better in Korganizer
|
||||
|
||||
Reference in New Issue
Block a user