Birthday without year from caldav is shown as 1604
Categories
(Thunderbird :: Address Book, defect)
Tracking
(thunderbird_esr140 affected, thunderbird_esr153 wontfix, thunderbird160 wontfix)
People
(Reporter: post+mozilla, Assigned: mkmelin)
Details
Attachments
(1 external file)
Steps to reproduce:
On my phone, I added a birthday without a year to a contact. The address booked is synced with Thunderbird via CardDav.
Actual results:
In Thunderbird, this shows as a birthday in the year 1604.
Expected results:
Thunderbird should treat this as a birthday without year.
| Assignee | ||
Comment 1•2 years ago
|
||
(Google calendars do not seem to like not having year, if I add a date without year, that's not saved)
In my case the address book server is radicale, in case that is relevant.
(There's no calendar involved.)
Updated•3 months ago
|
Updated•3 months ago
|
| Assignee | ||
Comment 4•20 days ago
|
||
vCard 3.0 can't express a date without a year, so iOS and DAVx5 write e.g.
BDAY;X-APPLE-OMIT-YEAR=1604:1604-04-15. iCloud stores such dates without the
parameter, e.g. BDAY;VALUE=DATE:1604-01-15, and Apple's devices still show
them without a year. Thunderbird showed these birthdays as being in 1604.
Add VCardUtils.parseDate, which drops the year if it matches the
X-APPLE-OMIT-YEAR parameter, or if it is 1604 when there is no such
parameter, and use it in the contact view, the contact editor and the
conversion to address book properties. When saving a date shown without a
year, the editor keeps the placeholder year the card had, with or without the
parameter, so other clients still see a date without a year.
Updated•20 days ago
|
| Assignee | ||
Updated•17 days ago
|
Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/f8c19c4ba7f5
Show vCard 3.0 dates with Apple's placeholder year as dates without a year. r=tobyp
Description
•