-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display age for recent / upcoming birthdays
This commit introduces an age label in the description of generated events. As this requires events to be generated for each year individually, only recent birthdays and a few upcoming ones will receive the age label: users can configure the interval in the settings. Sadly, the calendar API draft cannot handle recurrence exceptions, even when using ical directly. Technically, birthdays with age labels are thus not recurrence exceptions, but separate events. The main recurring event is amended with suitable EXDATE rules to prevent overlaps. This commit also fixes a few stylistic issues and adds DTSTAMP generation (which is mandated by the ical standard).
- Loading branch information
1 parent
8fc277e
commit f0c42a0
Showing
6 changed files
with
161 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters