Skip to content

Update Christian.ics to correct dates for Ash Wednesday - did not take leap years into account.#2

Open
Scoundrel42 wants to merge 1 commit into
sappjw:masterfrom
Scoundrel42:master
Open

Update Christian.ics to correct dates for Ash Wednesday - did not take leap years into account.#2
Scoundrel42 wants to merge 1 commit into
sappjw:masterfrom
Scoundrel42:master

Conversation

@Scoundrel42
Copy link
Copy Markdown

Whenever a RRULE has a BYMONTH earlier than March, leap years and non-leap years must be handled separately. Do this by creating four 76-year rules instead of one 19-year rule; each 76-year rule contains all leap years or all non-leap years.

This works for 1901-2099, but not for 1900 and 2100. So the Ash Wednesday VEVENTs only cover that range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant