diff options
Diffstat (limited to 'internal/calendar/temporal_ef.go')
| -rw-r--r-- | internal/calendar/temporal_ef.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/calendar/temporal_ef.go b/internal/calendar/temporal_ef.go index a043179..6828f35 100644 --- a/internal/calendar/temporal_ef.go +++ b/internal/calendar/temporal_ef.go @@ -422,6 +422,15 @@ func efWeek(date time.Time, season Season, y int, easter time.Time) int { // its ferias. Epiphany itself is a feast inside Christmas Time (RG 72), // not the head of a numbered week. return daysBetween(firstSundayAfterEpiphany(y), date)/7 + 1 + case Passiontide: + // Passiontide is TWO weeks and they are not interchangeable: Passion + // week (from Passion Sunday, Easter-14) and Holy Week (from Palm + // Sunday, Easter-7) have entirely different Masses. Numbering them + // both 0 -- which is what falling through to the default did -- gave + // every day of Holy Week the slug of its Passion-week namesake, so the + // two weeks shared one set of readings and Holy Week could not have + // its own. + return daysBetween(easter.AddDate(0, 0, -14), date)/7 + 1 case Septuagesima: return daysBetween(easter.AddDate(0, 0, -63), date)/7 + 1 case Easter_: |
