also export servertime if event has no recur_enddate - it could be a weekly or monthly recurring event

This commit is contained in:
Christian Binder 2009-10-06 14:29:46 +00:00
parent 68dc2e4f47
commit 49de506d6f

View File

@ -242,9 +242,16 @@ class calendar_ical extends calendar_boupdate
$servertime = true; $servertime = true;
$date_format = 'ts'; $date_format = 'ts';
// read the event again with timestamps // read the event again with timestamps
$event = $this->read($event['id'], 0, false, 'ts'); $event = $this->read($event['id'], 0, false, $date_format);
} }
} }
else
{
$servertime = true;
$date_format = 'ts';
// read the event again with timestamps
$event = $this->read($event['id'], 0, false, $date_format);
}
} }
if ($this->productManufacturer != 'file' && $this->uidExtension) if ($this->productManufacturer != 'file' && $this->uidExtension)