| | |
| | | break; |
| | | |
| | | case 'birthday': |
| | | if ($val = rcube_strtotime($value)) |
| | | $this->raw['BDAY'][] = array(0 => date('Y-m-d', $val), 'value' => array('date')); |
| | | case 'anniversary': |
| | | if (($val = rcube_strtotime($value)) && ($fn = self::$fieldmap[$field])) |
| | | $this->raw[$fn][] = array(0 => date('Y-m-d', $val), 'value' => array('date')); |
| | | break; |
| | | |
| | | case 'address': |
| | |
| | | * |
| | | * @param string vCard string to split |
| | | * @param string Separator char/string |
| | | * @return array List with splitted values |
| | | * @return array List with splited values |
| | | */ |
| | | private static function vcard_unquote($s, $sep = ';') |
| | | { |