T2504: Fix DTSTAMP in iTip replies
It should be set to NOW whenever METHOD is specified. Conflicts: plugins/libcalendaring/libvcalendar.php
This commit is contained in:
parent
9340dec610
commit
3b855e8559
1 changed files with 1 additions and 1 deletions
|
@ -977,7 +977,7 @@ class libvcalendar implements Iterator
|
|||
$ve->add('UID', $event['uid']);
|
||||
|
||||
// set DTSTAMP according to RFC 5545, 3.8.7.2.
|
||||
$dtstamp = !empty($event['changed']) && !empty($this->method) ? $event['changed'] : new DateTime();
|
||||
$dtstamp = !empty($event['changed']) && empty($this->method) ? $event['changed'] : new DateTime();
|
||||
$ve->add($this->datetime_prop('DTSTAMP', $dtstamp, true));
|
||||
|
||||
// all-day events end the next day
|
||||
|
|
Loading…
Add table
Reference in a new issue