Correctly save date-only task start dates

This commit is contained in:
Thomas Bruederli 2012-07-29 13:38:44 +02:00
parent 78077bcb0a
commit 1b55957fef

View file

@ -49,7 +49,7 @@ class kolab_format_task extends kolab_format_xcal
$this->obj->setPercentComplete(intval($object['complete']));
if (isset($object['start']))
$this->obj->setStart(self::get_datetime($object['start']));
$this->obj->setStart(self::get_datetime($object['start'], null, $object['start']->_dateonly));
$this->obj->setDue(self::get_datetime($object['due'], null, $object['due']->_dateonly));