Etar-Group / Etar-Calendar

Android open source calendar
https://f-droid.org/packages/ws.xsoh.etar/
GNU General Public License v3.0
2.02k stars 392 forks source link

Birthday #1022

Open rudolfmu opened 2 years ago

rudolfmu commented 2 years ago

If an event is yearly, all day and the description field contains a year (1985) only, the app aCalander appends the age when showing the name. Could you implement this? This is the only reason I still use aCalendar. Thanks.

Gitsaibot commented 2 years ago

Are you sure that aCalendar evaluates the event and does not access the contact database to calculate the age?

If you happen to use a Nextcloud calendar (the year is in the "Summary") to display the birthdays you could try my Etar-Calendar-debug.zip

There are changes included that I also use privately to display the age. But it only works in the month and agenda view! But I do not guarantee that it works for you too ;)

rudolfmu commented 2 years ago

If I create the event as decribed above in Etar, aCalendar shows it as a birthday with age. The age is simply calculated by the current year and the saved year.

I have no birthdays in my contracts, I don't use Nextcloud.

bordenc commented 1 year ago

I'm not sure why Etar and AOSP calendar don't implement birthdays like https://github.com/SimpleMobileTools/Simple-Calendar does. I suspect the latter was a Google gambit to get people to use their services, which has birthday integration, and not competitors. Further evidence is the fact that the SMS app provides in-app birthday reminders, although one would naturally expect to see them in the calendar.

The former makes no sense to me. Simple Calendar has cleanly implemented it by adding the whole of two toggles in the settings, which is why I use it. I only comment on Etar because it's the default calendar in LineageOS, so it would be nice not to have to switch calendars just to have expected functionality.

rudolfmu commented 1 year ago

I still miss this feature. I will try again with a better description as I think this is easy to add.

I don't wish/need: Any UI changes. Any changes to settings, menu etc.

I simply wish that if I enter a yearly event, and enter a 4 digit year (only those 4 digits) into the description field, the Etar will display the age of this event along with the title.

Say I enter "Moon Landing" as title and "1969” as description for a yearly date on July 20. Then in 2023 Etar shows "Moon Landing 54" instead of only "Moon Landing". The age on that day.

That is all I wish for. I found this feature very useful for birthdays and anniversaries when using the (closed source) app aCalendar.

@mm4c I don't use Google stuff and keep my contacts elsewhere. Android contacts contain only what is needed for calling.Thanks anyway. @bordenc I tried Simple calendar. It doesn't see my local calandar. I also found no way of explicitly entering a birthday into the calendar app. Thanks anyway.

natrius commented 7 months ago

This issue should be renamed "If description contains a number, collect difference from current date" or something like this. Because it has nothing to do with birthdays in the broad view.

Additionally: I think this would need some sort of keyword, because there are plenty of reasons someone is writing just a number in the description.