1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00

Contacts: BDAY VALUE=DATE wasn't saved

This commit is contained in:
Thomas Tanghus 2013-03-30 07:29:39 +01:00
parent eda3257aa3
commit cc69b94775

View File

@ -456,7 +456,8 @@ class Contact extends VObject\VCard implements IPIMObject {
}
$value = $date->format('Y-m-d');
$this->BDAY = $value;
$this->BDAY->VALUE = 'DATE';
$this->BDAY->add('VALUE', 'DATE');
//\OCP\Util::writeLog('contacts', __METHOD__.' BDAY: '.$this->BDAY->serialize(), \OCP\Util::DEBUG);
break;
case 'N':
$property = $this->select($name);