Widen seasonal hymn-doxology to cover Marian Saturday and the Assumption octave
getHymnDoxologyId now takes the whole LiturgicalDay (needed for a date-window check) and checks a feast override for a temporal winner's id too, not just sanctoral — matching Divinum Officium's own Common-of-the-BVM `Doxology=Nat` rule, which is why Marian Saturdays get the Nativity doxology regardless of season. Also ports the source's Aug 16-22 (Assumption octave) hardcoded Nativity-doxology window, confirmed live not excluded for the Monastic/ Tridentine 1617 track. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AGjUyhUZJaSjiniEmnLdak
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ function resolvePart(part: HourPart, date: string, day: LiturgicalDay): Resolved
|
||||
switch (part.kind) {
|
||||
case 'hymn': {
|
||||
const body = resolveCommon(part.textRef.id);
|
||||
const doxology = resolveCommon(getHymnDoxologyId(day.season, day.winner, 'hymn-doxology-per-annum'));
|
||||
const doxology = resolveCommon(getHymnDoxologyId(day, 'hymn-doxology-per-annum'));
|
||||
return [{ kind: 'hymn', text: appendDoxology(body, doxology) }];
|
||||
}
|
||||
case 'chapter':
|
||||
|
||||
Reference in New Issue
Block a user