aboutsummaryrefslogtreecommitdiff
path: root/internal/caldata/stack_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-18 17:15:27 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-18 17:15:27 +0200
commitd27336dc65c7348dcda639b7e43e8948e7bb1caa (patch)
treeac3d06858a5152c0908eb2d5344439f00a05ca3d /internal/caldata/stack_test.go
parentc4bface0c72283cef55f548feb2a4a3d9eff1e6c (diff)
downloadlectio-d27336dc65c7348dcda639b7e43e8948e7bb1caa.tar.gz
lectio-d27336dc65c7348dcda639b7e43e8948e7bb1caa.zip
fix(ef): the ferias between Epiphany and the Sunday after it
They repeat Epiphany's own Mass, Isa 60:1-6 / Matt 2:1-12. lectio gave them the Mass of the first Sunday AFTER Epiphany (Rom 12:1-5 / Luke 2:42-52), which belongs to the ferias that follow that Sunday, not to the ones before it. The two groups cannot be told apart by slug: both are ef-time-after-epiphany-1-<weekday>, because the week numbering starts at the Sunday and the days before it fall in the same numbered week. So the split is made on the date, against the same anchor efWeek uses. Saturdays need no exclusion here -- an unoccupied Saturday in the window carries Our Lady's office and her Mass, and that check runs first. colitur reaches the same result by listing only the five non-Saturday weekdays. 7, 9 and 12 January 2026 now all match colitur, the 12th being the boundary case: it follows the Sunday of the 11th and correctly keeps Rom 12:1-5.
Diffstat (limited to 'internal/caldata/stack_test.go')
0 files changed, 0 insertions, 0 deletions