Branch 'roundcubemail-plugins-kolab-3.1' - 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 96496ae2104f07ec906c4fecca974d1fbca05791
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