SufficientlySecure / birthday-calendar

Display all contact birthdays automatically in your standard Android calendar.
https://www.schuermann.eu/android/
GNU General Public License v3.0
94 stars 28 forks source link

Birthdays without year shown as born in 1970 (49 years old this year) #106

Open dboehmer opened 5 years ago

dboehmer commented 5 years ago

I've been successfully using Birthday adapter from F-Droid for years. Thank you for that small but very helpful app!

Just recently I started using birthdays without years. Unfortunately all these birthdays are currently shown as "(49)" which seems to be because dates use 1970 as base.

I tried to switch to Birthday Calender from F-Droid. Both apps seem to be from this repo just in different versions. In this app's calendar the issue is the same with events described as "John Doe was born in 1970 and turns 49 this day."

When sharing such a contact and inspecting its vcf file it contains a line:

BDAY:--12-24

When downloading the vcf from my WebDAV server for synchronization the line reads:

BDAY;X-APPLE-OMIT-YEAR=1604:1604-12-24

Is this an issue with the app or do I need to configure something differently?

ialokim commented 5 years ago

See https://github.com/SufficientlySecure/birthday-calendar/issues/52#issuecomment-459986975

kaoneko commented 4 years ago

Quite an annoying bug that was fixed 2½ years ago, but since there hasn't been a new release after that the version in F-Droid still has it (see @ialokim's link). I somehow managed to build my own .apk from source a long time ago when I ran into this issue. Now and then I check back here wondering if there's been a new release including the fix, but I guess the author has moved on to other things. Which is a shame because the bug kind of ruins the whole app for those of us who have lots of contacts without year of birth.

So for those who can't figure out how to build it from source or don't have the time, here is the APK I made. I think you have to uninstall the version from F-Droid before you can install this one, since I obviously didn't have F-Droid's private key to sign it with. I could be wrong though.

Birthday-Calendar-full-release v2.0 + birthdays without year bugfix.zip