aboutsummaryrefslogtreecommitdiff
path: root/internal/caldata/of_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 10:45:09 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 10:45:09 +0200
commitd571091e25e87758c3c77fbc8b2d935bcc8304a4 (patch)
tree5a523c231760040d57ebb2e556d17656b0c0ba81 /internal/caldata/of_test.go
parent44cb30b7ffcd776b26952080d1ec3587282a3db4 (diff)
downloadlectio-d571091e25e87758c3c77fbc8b2d935bcc8304a4.tar.gz
lectio-d571091e25e87758c3c77fbc8b2d935bcc8304a4.zip
feat(of): Christmas-season weekday ferials from catholic-resources.org (date-based)
Completes the seasonal weekday lectionary. The Christmas-season weekdays sit on the AdventChristmas page in a SHIFTED 6-column layout (Day in c[1], not c[2] like Advent's 7-column) -- the generator now finds the Day column wherever it is. Adds date-based slugs to temporal.go: christmas-dec-<29..31> (octave), christmas-jan-<2..7> (before Epiphany), christmas-after-epiphany-<weekday> (before the Baptism). Fixes the christmas-octave-fri coverage gap and the by-date/by-week collision. 362/362 seasonal ferial-days render across 2026-2029 with 0 gaps. Extends TestOFSeasonalFerials. All of Advent/Lent/Easter/Christmas weekdays now CR-sourced; only the Commons remain (optional -- memorials default to the ferial).
Diffstat (limited to 'internal/caldata/of_test.go')
-rw-r--r--internal/caldata/of_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/caldata/of_test.go b/internal/caldata/of_test.go
index 086883a..ca5cc24 100644
--- a/internal/caldata/of_test.go
+++ b/internal/caldata/of_test.go
@@ -95,6 +95,9 @@ func TestOFSeasonalFerials(t *testing.T) {
{"easter-octave-mon-I", "Acts 2:14"}, // was absent
{"advent-dec-17-I", "Genesis 49"},
{"advent-dec-24-I", "2 Samuel 7"},
+ {"christmas-dec-29-I", "1 John 2:3-11"}, // Christmas octave, by date
+ {"christmas-jan-2-I", "1 John 2:22-28"}, // before Epiphany, by date
+ {"christmas-after-epiphany-mon-I", "1 John 3:22"}, // after Epiphany, by weekday
} {
var first string
for _, r := range TemporalReadings("new", tc.key) {