aboutsummaryrefslogtreecommitdiff
path: root/internal/calendar/types_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 00:57:07 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 00:57:07 +0200
commit6b7e8dbd26cc34a19a858794a02f1c0ba577a58b (patch)
treef935704d83c555a31a9297e091272983a1fb6fb9 /internal/calendar/types_test.go
parente829b48b08c683d9dcef5e4b9502c1c42bc895f1 (diff)
downloadlectio-6b7e8dbd26cc34a19a858794a02f1c0ba577a58b.tar.gz
lectio-6b7e8dbd26cc34a19a858794a02f1c0ba577a58b.zip
fix(of): correct memorial readings (ferial fallback) + Lord-feast class
Validation vs USCCB (Catholic Readings API) caught two bugs: - Obligatory memorials were keyed by their own slug, freezing ONE year's ferial (a memorial's fixed date lands in a different Ordinary-Time week each year), so most weekday memorials showed the wrong week's reading. Now memorials are skipped in the harvest and fall back to the day's ferial slug at runtime -> the correct week's reading. (Proper-reading memorials show the permitted ferial; their propers are a later refinement.) - gen-sanctoral classOf missed feasts of the Lord whose title says 'Holy Cross' (not 'of the Cross') etc., so the Exaltation of the Cross (and Transfiguration, Presentation) did not displace an Ordinary Sunday. Fixed the Lord/BVM class inference; the Cross now correctly displaces the Sunday and shows its proper. USCCB agreement on the sampled 2025 window rose to ~92%; residual diffs are proper-reading memorials (Guardian Angels/Sorrows gospels), citation-granularity (same reading, different verse range), and week numbering around feast-displaced Sundays -- documented as known refinements.
Diffstat (limited to 'internal/calendar/types_test.go')
0 files changed, 0 insertions, 0 deletions