Label resumed post-Epiphany Sundays/weeks distinctly from ordinary ones
Deploy / deploy (push) Successful in 1m53s
Deploy / deploy (push) Successful in 1m53s
A resumed post-Epiphany Sunday/week (overflow years, e.g. 11/8/2026) read as plain "after Epiphany", indistinguishable from an ordinary in-season post-Epiphany Sunday. Append ", resumed" / ", resumpta" so the label reflects that it's the overflow case. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LGsATZvfnpQ81HQuoF5JuL
This commit is contained in:
@@ -280,8 +280,10 @@ const FIXED_LAST_SUNDAY_ORDINAL = 23;
|
||||
* a second time, so the label can never disagree with what's actually
|
||||
* rendered underneath):
|
||||
* - A resumed post-Epiphany Sunday/week (an overflow year's skipped
|
||||
* Epiphany Sundays, reappearing here) — reads "after Epiphany", not
|
||||
* the next Trinity-counted number in line.
|
||||
* Epiphany Sundays, reappearing here) — reads "after Epiphany,
|
||||
* resumed", not the next Trinity-counted number in line and not a
|
||||
* bare "after Epiphany" (which would look identical to an ordinary,
|
||||
* in-season post-Epiphany Sunday).
|
||||
* - The fixed final Sunday/week of the year itself — always the fixed
|
||||
* 23rd-after-Trinity ordinal (see FIXED_LAST_SUNDAY_ORDINAL above),
|
||||
* every year, not just overflow ones.
|
||||
@@ -301,8 +303,11 @@ function trinitytideOverrideLabel(day: LiturgicalDay): Bi | undefined {
|
||||
if (epiphanyMatch) {
|
||||
const n = Number(epiphanyMatch[1]);
|
||||
return day.weekday === 'sunday'
|
||||
? bi(`The ${ordinal(n)} Sunday after Epiphany`, `Dominica ${ordinalLa(n)} post Epiphaniam`)
|
||||
: bi(`${weekdayName.en} in the ${ordinal(n)} week after Epiphany`, `${weekdayName.la} in hebdomada ${ordinalLa(n)} post Epiphaniam`);
|
||||
? bi(`The ${ordinal(n)} Sunday after Epiphany, resumed`, `Dominica ${ordinalLa(n)} post Epiphaniam, resumpta`)
|
||||
: bi(
|
||||
`${weekdayName.en} in the ${ordinal(n)} week after Epiphany, resumed`,
|
||||
`${weekdayName.la} in hebdomada ${ordinalLa(n)} post Epiphaniam, resumpta`,
|
||||
);
|
||||
}
|
||||
|
||||
if (id === 'post-pentecost-24') {
|
||||
|
||||
Reference in New Issue
Block a user