When exporting to a VCard reader that uses the first and last name fields instead of FullName, the first and last names are reversed.

The correct VCard name format:

N:Doe;John;;;
FN:John Doe

The fix is pretty simple. In cck_vcard_create_vcard():

- $output .= 'N;CHARSET=UTF-8:'. $fname. ';'.$lname.';;';
+ $output .= 'N;CHARSET=UTF-8:'. $lname. ';'.$fname.';;';

Sources: http://www.w3.org/2002/12/cal/vcard-notes.html and http://en.wikipedia.org/wiki/VCard

Comments

michaelpporter’s picture

Assigned: Unassigned » michaelpporter
Status: Active » Closed (cannot reproduce)

Seems to be fixed in the latest versions