Re: Importing issue within AddressManager
Riccardo Mottola <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Patrick Cardona wrote: > Hello, > > While importing from a vcard file, I noted the Birthday dates were > modified as (day - 1). My vcard was previously converted from the > Birthday (old bsd cli program) format and it had no errors, while > birthday dates were badly imported in AddressManager. > > As you might know, this data is used within SimpleAgenda to fetch > Birthdays, so we need a correct importing process. > > Below, a screenshot with the vcard imported and the rendered date in > AddressManager: I don't know about that bsd cli program and how it was exported/converted. So I cannot know what the correct date is. Supposing it is yourself, 7th of September? 8th of July? You did include a screenshot but not a vcard for debugging. I looked at the code in AddressManager and tried to import a vcard generated by apple Addresses. It got it wrong. Looking through RFC for vcard, old and new, it is either explicit or implied that the format is year-month-day (year-day-months makes little sense, even for americans, I hope). I fixed that. Works for me now, please try yourself. Riccardo