From a3e1781363ab708b25dfa87b39d29e2c4324f5cb Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Tue, 28 Jul 2026 00:59:38 +0200 Subject: chore(of): extend lectionary harvest to 2018-2025 (98.4% coverage) More true-ferial years per position; 359/365 days of 2026 now resolve. The 6 residual gaps are rare pre-Lent Ordinary-Time positions (weeks 3/4/9) that never occurred as a true ferial in the harvestable past (niedziela publishes no future years) -- an irreducible limit of date-based harvesting, documented. --- scripts/genlect-of.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/genlect-of.go b/scripts/genlect-of.go index 32a8525..dd57d71 100644 --- a/scripts/genlect-of.go +++ b/scripts/genlect-of.go @@ -94,12 +94,12 @@ func main() { // niedziela only publishes ~6 weeks ahead, so future years are unavailable; // the cycles repeat, so a liturgical position's readings are identical - // whichever civil year they fall in. Harvest 2020-2025 -- TWO+ years per + // whichever civil year they fall in. Harvest 2018-2025 -- TWO+ years per // cycle (Sunday A:2020,2023 B:2021,2024 C:2022,2025; weekday I:2021,2023,2025 // II:2020,2022,2024) so a position displaced by a saint/feast in one year is // still captured in another. A key is stored from the FIRST year it resolves; // a year where it fails does not block a later retry (seen is set on success). - start := time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC) + start := time.Date(2018, 1, 1, 0, 0, 0, 0, time.UTC) end := time.Date(2025, 12, 31, 0, 0, 0, 0, time.UTC) for d := start; !d.After(end); d = d.AddDate(0, 0, 1) { @@ -179,7 +179,7 @@ func main() { b.WriteString("; OF (Ordinary Form) temporal lectionary, keyed by -:\n") b.WriteString("; Sundays & solemnities use the Sunday cycle (A/B/C), ferial weekdays the weekday\n") b.WriteString("; cycle (I/II). Citations English-canonical.\n") - b.WriteString("; Generated from niedziela.pl by scripts/genlect-of.go (harvest 2020-2025).\n") + b.WriteString("; Generated from niedziela.pl by scripts/genlect-of.go (harvest 2018-2025).\n") for _, k := range keys { v := lect[k] fmt.Fprintf(&b, "\n[%s]\n", k) -- cgit v1.3