leap day birthdays forgotten in non leap years
Describe the bug
:tada: Never forget a birthday! You can sync birthdays and other recurring events with your Nextcloud Calendar.
Nextcloud does not generate birthdays in non leap years for contacts born on February 29th, causing me to miss it :(
To Reproduce Steps to reproduce the behavior:
- Set a contacts birthday to Feb 29th 2000
- Check the calendar for Feb 28 on any non leap year
Expected behavior The birthday should be displayed on Feb 28th or March 1st, preferably the former. Maybe also include a note about the leap year thing.
Actual behavior There is no entry at all for non leap years.
Server configuration
Operating system: Ubuntu 20.04 Web server: Nginx Database: MariaDB PHP version: 7.4.3
Nextcloud version: 20.0.8
Contacts version: 3.4.3
Updated from an older Nextcloud or fresh install: Yes
Signing status:
No errors have been found.
From some quick testing, Google Calendar doesn't do anything special for handling this date either.
Maybe if it's a de facto "annual" thing despite the date not existing annually, set the birthday as being the 28th instead?
Some possible solutions:
https://webapps.stackexchange.com/questions/12762/google-calendar-doesnt-show-yearly-event-on-29-feb-bug
The birthday should be displayed on Feb 28th or March 1st, preferably the former. Maybe also include a note about the leap year thing.
The thing with this is that it's not the date set in the calendar. :) What if somebody wants to only be notified on the 29th (i.e. every 4 years)?