From 3d3ad4ba90c4d7dea4730ef129f8c9e065f05d6e Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 3 Aug 2026 23:40:30 +0200 Subject: liturgy: carry the observed rank on DayInfo --- internal/liturgy/section.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/liturgy') 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 } -- cgit v1.3