plugins/libcalendaring
Thomas Brüderli
bruederli at kolabsys.com
Wed Sep 25 18:41:37 CEST 2013
plugins/libcalendaring/libvcalendar.php | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 3787ac1becd60ebff6d16357018ae3c8092838f2
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date: Wed Sep 25 18:40:49 2013 +0200
Always add mandatory DTSTAMP value for VEVENT components
diff --git a/plugins/libcalendaring/libvcalendar.php b/plugins/libcalendaring/libvcalendar.php
index 30ee3bb..75b071c 100644
--- a/plugins/libcalendaring/libvcalendar.php
+++ b/plugins/libcalendaring/libvcalendar.php
@@ -665,6 +665,7 @@ class libvcalendar
$type = $event['_type'] ?: 'event';
$ve = VObject\Component::create($this->type_component_map[$type]);
$ve->add('UID', $event['uid']);
+ $ve->add(self::datetime_prop('DTSTAMP', new DateTime(), true));
// all-day events end the next day
if ($event['allday'] && !empty($event['end'])) {
More information about the commits
mailing list