diff options
Diffstat (limited to 'internal/calendar/temporal_ef.go')
| -rw-r--r-- | internal/calendar/temporal_ef.go | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/internal/calendar/temporal_ef.go b/internal/calendar/temporal_ef.go index c649405..3d6c72c 100644 --- a/internal/calendar/temporal_ef.go +++ b/internal/calendar/temporal_ef.go @@ -100,12 +100,27 @@ func temporalEF(date time.Time) temporalDay { // Holy Thursday (the Mass of Chrism and the Mass in Cena Domini) is white, // a whole-Mass exception to Passiontide's violet -- RG 128(b)'s own named // exception list, and RG 122 stating the same fact affirmatively in the - // White section. Good Friday and Holy Saturday, either side, are NOT - // exceptions here (RG 132's black for Good Friday's liturgical action is a - // separate, unmodelled gap -- see precedence_ef.go's doc comments). + // White section. if sameDay(date, easter.AddDate(0, 0, -3)) { col = White } + // Good Friday is BLACK. RG 128(b)'s exception list carries it in the same + // sentence as Holy Thursday's -- "...Actione liturgica feria VI in Passione + // et Morte Domini usque ad Communionem exclusive..." excepts the day from + // Passiontide's violet -- and RG 132 assigns black to it. Adopted + // 2026-08-18 from the sibling project colitur, which closed the same gap + // against the Missal; this comment previously called it "a separate, + // unmodelled gap" and it no longer is. + // + // The rubric is per-ACTION ("usque ad Communionem exclusive", violet + // returns for the Communion rite) and this model carries one colour per + // day, so black is the day's principal colour -- the same acknowledged + // limit the Palm Sunday blessing already has. missalemeum's own colour set + // for the day is "bv", black first, so even the upstream this file is + // generated against agrees on the ordering. + if sameDay(date, easter.AddDate(0, 0, -2)) { + col = Black + } sun := date.Weekday() == time.Sunday // Major feasts of the Lord (I class): nice titles + colour. |
