Show calculated age for automated birthday calendar events
EDS contacts have a "birthday" date field, and an "anniversary" date field. Maybe eventually a date of death field.
When a full valid date including year is included in the birthday date field, it would be nice to show what age the person is on that day. Evolution (shown on the right in the screenshot below) does this, whereas GNOME Calendar (shown on the left) doesn't:
This would make the automated "Birthdays & Anniversaries" EDS calendar quite a bit more useful, because it would not only remind you of someone's birthday, but also save you from asking the awkward "so wait, what age are you again?" or might prompt you to celebrate some specific milestones (ex: in some cultures the 50th birthday is significant, etc.).
The design question is whether we should show the date directly in the event title label like Evolution does, or if this can/should only be in the tooltip when you hover it with the mouse, and in the event details popover widget.
Interesting fact: @thibaultamartin's screenshot in #49 (comment 779102) reveals that we used to show a birthday cake emoji (instead of the Birthday:
text prefix) and the birth yeay (as a suffix, ex.: (1992)
). I wonder what led to this behavior changing between 2020 and 2022. Was the cake emoji's replacement by a text string an EDS change @mcrha? I can't find a ticket about it in Evolution or EDS, nor anything related to calendar event labels when searching for "birthday" in the Evolution or EDS commits.
Of course, it is much more useful to show the calculated age (like Evolution does) rather than the birth year (like GNOME Calendar used to do), as the birth year requires me to make a mental calculation that will inevitably be tedious and likely to be wrong.