aboutsummaryrefslogtreecommitdiff
path: root/internal/liturgy/section.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-03 23:40:30 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-03 23:40:30 +0200
commit3d3ad4ba90c4d7dea4730ef129f8c9e065f05d6e (patch)
treeda261f958cca431df16ab8ebc7c22caa81d8db30 /internal/liturgy/section.go
parent14c4540d3f06299bf65d74ea864ae7c6c4c33f72 (diff)
downloadlectio-3d3ad4ba90c4d7dea4730ef129f8c9e065f05d6e.tar.gz
lectio-3d3ad4ba90c4d7dea4730ef129f8c9e065f05d6e.zip
liturgy: carry the observed rank on DayInfo
Diffstat (limited to 'internal/liturgy/section.go')
-rw-r--r--internal/liturgy/section.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/liturgy/section.go b/internal/liturgy/section.go
index dcca7b5..485a45f 100644
--- a/internal/liturgy/section.go
+++ b/internal/liturgy/section.go
@@ -33,4 +33,9 @@ type DayInfo struct {
// Colour is the normalized liturgical colour: "white", "green",
// "violet", "red", "rose", or "" when unknown/unmapped.
Colour string
+ // Rank is the normalized liturgical rank of the observed celebration:
+ // the Ordinary Form's "ferial", "optional", "memorial", "feast",
+ // "solemnity", or the 1962 form's "class-1".."class-4",
+ // "commemoration". Empty when the day carries no rank.
+ Rank string
}