diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/caldata/tridentine-lectionary.ini | 16 | ||||
| -rw-r--r-- | internal/calendar/temporal_ef.go | 18 |
2 files changed, 20 insertions, 14 deletions
diff --git a/internal/caldata/tridentine-lectionary.ini b/internal/caldata/tridentine-lectionary.ini index 52ac060..06ad9fd 100644 --- a/internal/caldata/tridentine-lectionary.ini +++ b/internal/caldata/tridentine-lectionary.ini @@ -426,20 +426,11 @@ first = Phil 3:17-21; 4:1-3 gospel = Matt 9:18-26 [ef-time-after-pentecost-sunday-24] -first = Rom 13:8-10 -gospel = Matt 8:23-27 +first = Col 1:9-14 +gospel = Matt 24:15-35 -[ef-time-after-pentecost-sunday-25] -first = Col 3:12-17 -gospel = Matt 13:24-30 -[ef-time-after-pentecost-sunday-26] -first = 1 Thess. 1:2-10 -gospel = Matt 13:31-35 -[ef-time-after-pentecost-sunday-27] -first = Col 1:9-14 -gospel = Matt 24:15-35 [ef-time-after-pentecost-sunday-3] first = 1 Pet. 5:6-11 @@ -489,6 +480,3 @@ gospel = Luke 2:21 first = 1 Thess 1:2-10 gospel = Matt 13:31-35 -[ef-time-after-pentecost-sunday-28] -first = Col 1:9-14 -gospel = Matt 24:15-35 diff --git a/internal/calendar/temporal_ef.go b/internal/calendar/temporal_ef.go index 9e7e7b2..7420ebd 100644 --- a/internal/calendar/temporal_ef.go +++ b/internal/calendar/temporal_ef.go @@ -132,6 +132,24 @@ func temporalEF(date time.Time) temporalDay { if season == Advent && sameDay(date, adventStart(y)) { rank = RankClass1 // 1st Sunday of Advent } + // Resumed Sundays after Pentecost (1960 Rubrics): when Easter is early + // there are more than 24 Sundays after Pentecost. The LAST Sunday before + // Advent always keeps the 24th (Last) Mass; the surplus Sundays between the + // 23rd and the last resume the Sundays after Epiphany that Septuagesima cut + // short -- the highest-numbered ones, so the 6th sits just before the Last. + if season == TimeAfterPentecost { + lastSun := adventStart(y).AddDate(0, 0, -7) + if sameDay(date, lastSun) { + return efCel(TimeAfterPentecost, "ef-time-after-pentecost-sunday-24", col, rank, 24) + } + if week > 23 { + p := daysBetween(easter.AddDate(0, 0, 49), lastSun) / 7 // total Sundays after Pentecost + e := week - p + 7 // resumed Sunday after Epiphany + // Season stays time-after-pentecost (calendrical); the Epiphany + // slug only routes the readings to the resumed Mass. + return efCel(TimeAfterPentecost, "ef-time-after-epiphany-sunday-"+strconv.Itoa(e), Green, rank, e) + } + } return efCel(season, "ef-"+string(season)+"-sunday-"+strconv.Itoa(week), col, rank, week) } // The days between Ash Wednesday and the 1st Sunday of Lent have their own |
