Skip to content

feastdate 1.0.6: a feria with a weekday feast is its weekday, not an offset - #12

Merged
isaacschepp merged 1 commit into
mainfrom
fix/feria-weekday-feast
Sep 23, 2026
Merged

isaacschepp merged 1 commit into
mainfrom
fix/feria-weekday-feast

Conversation

@isaacschepp

Copy link
Copy Markdown
Owner

"Feria 6 in Parasceve 1680" answered Wed 14 Apr, five days after Good
Friday, and "Feria V in Coena Domini" answered the Monday after Maundy
Thursday. In these names the feria is the feast's own weekday (feria 1
is Sunday), so the count from the feast is right only when the feast is
a Sunday.

With Maundy Thursday, Good Friday and Ascension the feria is now a check:
the matching number resolves to the feast itself and any other is
refused ("feria 2 does not fall on ascens, a Thursday"). Sunday feasts
count as before. quinta, sexta and septima are read as ordinals, so
"Feria sexta in Parasceve" works as written.

Tests: the three inputs from the issue, plus the spelled-out ordinals and a wrong feria against each weekday feast. 272 passed.

Fixes #3

…offset

"Feria 6 in Parasceve 1680" answered Wed 14 Apr, five days after Good
Friday, and "Feria V in Coena Domini" answered the Monday after Maundy
Thursday. In these names the feria is the feast's own weekday (feria 1
is Sunday), so the count from the feast is right only when the feast is
a Sunday.

With Maundy Thursday, Good Friday and Ascension the feria is now a check:
the matching number resolves to the feast itself and any other is
refused ("feria 2 does not fall on ascens, a Thursday"). Sunday feasts
count as before. quinta, sexta and septima are read as ordinals, so
"Feria sexta in Parasceve" works as written.

Fixes #3
@isaacschepp
isaacschepp merged commit cf4dad1 into main Sep 23, 2026
10 checks passed
@isaacschepp
isaacschepp deleted the fix/feria-weekday-feast branch September 23, 2026 17:45
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.

Feria counted from a weekday feast: "Feria 6 in Parasceve" resolves to the Wednesday after Good Friday

1 participant