aboutsummaryrefslogtreecommitdiff
path: root/internal/calendar/types.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-27 12:33:47 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-27 12:33:47 +0200
commitf5afb407beab795e371c36a3229e991e48c366fe (patch)
treeb9378cca00e46a1b063d53f3cfa52546ae782f9f /internal/calendar/types.go
parent56f3b8161f73c33fe6e25f6461d3f061af427e9e (diff)
downloadlectio-f5afb407beab795e371c36a3229e991e48c366fe.tar.gz
lectio-f5afb407beab795e371c36a3229e991e48c366fe.zip
test(calendar): regression oracle vs calapi 2020-2040 (0 season mismatches)
Caught + fixed an Advent-start bug: anchor on Christmas Eve, not Dec 25, so years where Dec 25 is a Sunday don't lose the first week of Advent. Rank-class diffs (324) are informational — the initial sanctoral dataset is partial.
Diffstat (limited to 'internal/calendar/types.go')
-rw-r--r--internal/calendar/types.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/calendar/types.go b/internal/calendar/types.go
index f481441..77d57ab 100644
--- a/internal/calendar/types.go
+++ b/internal/calendar/types.go
@@ -104,6 +104,7 @@ type LiturgicalDay struct {
Observed Celebration
Others []Celebration
Colour Colour
+ ObservedBand int // Table-of-Liturgical-Days band of the observed celebration (1=highest)
SundayCycle string // "A" | "B" | "C"
WeekdayCycle string // "I" | "II"
}