diff --git a/lib/contact.php b/lib/contact.php index dd88a35d..0c033691 100644 --- a/lib/contact.php +++ b/lib/contact.php @@ -807,6 +807,9 @@ class Contact extends VObject\VCard implements IPIMObject { ); $vEvent->DTSTART['VALUE'] = 'date'; $vEvent->add('DURATION', 'P1D'); + $lm = new \DateTime('@' . $this->lastModified()); + $lm->setTimeZone(new \DateTimeZone('UTC')); + $vEvent->DTSTAMP->setDateTime($lm); $vEvent->{'UID'} = $this->UID; $vEvent->{'RRULE'} = 'FREQ=YEARLY'; $vEvent->{'SUMMARY'} = $title . ' (' . $date->format('Y') . ')';