Birthday events synchronized from owncloud are not displayed (DTSTART before 1902)

  • I’m using DAVDroid with owncloud 10.0.7 with the Contacts and Calendar plugin. The Calendar plugin creates a read-only calendar for birthdays extracted from the contacts. Now there seems to be a problem with contacts for which only a birthdate without a year is entered. The respective vcard contains an event ending with an asterisk *:

    SUMMARY:Georg *

    All the birthdays where I did not enter a birth year do not show up e.g. in the Google Calendar app or in the Simple Calendar app (
    Although I am not 100% sure whether the problem is on DAVDroid’s side or owncloud’s or the clients’, I noticed that as soon as I enter a year for the birthday in contacts, the respective event is shown in the calendars.
    When I synchronize the birthday calendar with Thunderbird’s DAV implementation (or Lightning’s), I can see all the birthday events, regardless of whether they have a year associated with them or not.

    My debug.txt:

  • developer


    Seems to be this one:

    So, only dates between 1902 and 2037 will be processed correctly and it’s really a 32-bit problem. […] To fix the problem, Android calendar provider would just need to use java.util.Calendar instead of android.text.format.Time. I have created an Android bug report for this:

    Unfortunately, my bug report hasn’t even been looked at since Oct 2016. I guess there’s no big interest in fixing this.

    Instead of using the birthday calendar provided by the CalDAV server, you might provide birthday information in the contacts and then use the Birthday Adapter app, see

  • @rfc2822 first off: thanks for the immediate reply. Second: wow! Birthday Adapter from F-droid is so cool! It is exactly what I was looking for. Thank you! And thank you for DAVDroid! (and sorry for the duplicate)

Similar topics