| | |
| | | //'business_street_2' => '', |
| | | //'business_street_3' => '', |
| | | 'car_phone' => 'phone:car', |
| | | 'categories' => 'categories', |
| | | 'categories' => 'groups', |
| | | //'children' => '', |
| | | 'company' => 'organization', |
| | | //'company_main_phone' => '', |
| | |
| | | 'work_title' => 'jobtitle', |
| | | 'work_zip' => 'zipcode:work', |
| | | 'group' => 'groups', |
| | | |
| | | // GMail |
| | | 'groups' => 'groups', |
| | | ); |
| | | |
| | | /** |
| | |
| | | $contact['birthday'] = $contact['birthday-y'] .'-' .$contact['birthday-m'] . '-' . $contact['birthday-d']; |
| | | } |
| | | |
| | | // categories/groups separator in vCard is ',' not ';' |
| | | if (!empty($contact['groups'])) { |
| | | $contact['groups'] = str_replace(';', ',', $contact['groups']); |
| | | } |
| | | |
| | | // Empty dates, e.g. "0/0/00", "0000-00-00 00:00:00" |
| | | foreach (array('birthday', 'anniversary') as $key) { |
| | | if (!empty($contact[$key])) { |