Sync deathday from thunderbird (Cardbook) to nextcloud results in invalid date
Hallo together,
I create a vcard 4 adress book on thunderbird (Cardbook).
Create an adress:
name: example
birthday: 20220101
deathday: 20230101
The result in nextcloud is:
Name: example
birthday: 01 Januar 2022
deathday: Invalid date
Any Idea?
Best Regards
Gerhard
P.S. If I select an day of death in nextcloud. Their will only be visible day and month: e.g.
Deathdate: 05. Jan. → after Refresh 05. Januar
After Syncing in thunderbird, their will be: 0105
But if I put this format in thunderbird and sync. The result will be Invalid date in nextcloud too.
P.S.S. Thunderbird saves the date in table card column carddata as blob “xxx …DEATHDATE:yyyymmdd… xxx” → Invalid Date
Nextcloud saves the date as “xxx …DEATHDATE;VALUE=DATE:–mmdd… xxx” with no year
P.S.S.S - Last test
P.S.S. Once again, I tested all exampels from the from the RFC 6474:
- DEATHDATE:19960415
- DEATHDATE:–0415
- DEATHDATE;19531015T231000Z
- DEATHDATE;VALUE=text:circa 1800
Put as new contact in the card book. 1-3 works fine, 4 gives a format error.
Syncing Example 1-3 to nextcloud would result in “Invald Date” for Death day.
I create vcards from Exmple 1-4.
VCARD 1:
BEGIN:VCARD
VERSION:4.0
PRODID:-//Thunderbird.net/NONSGML Thunderbird CardBook V83.7//EN-GB
UID:54c4eefb-64a5-4246-9d15-5906bc026587
FN:Example 1 A_RFC
N:A_RFC;Example 1;;;
DEATHDATE:19960416
REV:20230128T131629Z
END:VCARD
VCARD 2:
BEGIN:VCARD
VERSION:4.0
PRODID:-//Thunderbird.net/NONSGML Thunderbird CardBook V83.7//EN-GB
UID:dd18b69c-b91e-414a-890e-26e77b08bf75
FN:Example 2 A_RFC
N:A_RFC;Example 2;;;
DEATHDATE:–0415
REV:20230128T130643Z
END:VCARD
VCARD 3:
BEGIN:VCARD
VERSION:4.0
PRODID:-//Thunderbird.net/NONSGML Thunderbird CardBook V83.7//EN-GB
UID:dd18b69c-b91e-414a-890e-26e77b08bf75
FN:Example 3 A_RFC
N:A_RFC;Example 3;;;
DEATHDATE:–0415
REV:20230128T130643Z
END:VCARD
VCARD 4:
BEGIN:VCARD
VERSION:4.0
PRODID:-//Thunderbird.net/NONSGML Thunderbird CardBook V83.7//EN-GB
UID:dd18b69c-b91e-414a-890e-26e77b08bf75
FN:Example 4 A_RFC
N:A_RFC;Example 4;;;
DEATHDATE;VALUE=text:circa 1800
REV:20230128T130643Z
END:VCARD
Deleting the contacts in nextcloud and import the VCARDs into nextcloud directly:
- 1-2 was imported with invalid date in the contact, but the calendar entrys are created
- 3-4 didn’t work
Thunderbird: 102.7.0 (32-Bit)
CardBook: 83.7
Provider für CalDAV & CardDAV: 4.3
TBSync: 4.3
NextCloud: 25.0.3 (MANITU)
Operating System: Linux 5.15.80 x86_64
PHP: 8.0.25