summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 00:59:38 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-28 00:59:38 +0200
commita3e1781363ab708b25dfa87b39d29e2c4324f5cb (patch)
tree0f1cdb9a4e11fa3a4cd30e815eb9dc00f4f2a629 /scripts
parent6b7e8dbd26cc34a19a858794a02f1c0ba577a58b (diff)
downloadlectio-a3e1781363ab708b25dfa87b39d29e2c4324f5cb.tar.gz
lectio-a3e1781363ab708b25dfa87b39d29e2c4324f5cb.zip
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/genlect-of.go6
1 files changed, 3 insertions, 3 deletions
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 <computed-temporal-slug>-<cycle>:\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)