rosary: recommend Glorious mysteries on Lenten Sundays
All checks were successful
CI / update (push) Successful in 1m40s

Sundays during Lent are "little Easters", so treat them like ordinary
Sundays (Glorious mysteries, no Fastenzeit badge) rather than Lent.
This commit is contained in:
2026-02-22 20:54:41 +01:00
parent 694444aa0f
commit 9cc8374310

View File

@@ -51,6 +51,7 @@ export type LiturgicalSeason = 'eastertide' | 'lent' | null;
*/ */
export function getLiturgicalSeason(date: Date = new Date()): LiturgicalSeason { export function getLiturgicalSeason(date: Date = new Date()): LiturgicalSeason {
if (isEastertide(date)) return 'eastertide'; if (isEastertide(date)) return 'eastertide';
if (isLent(date)) return 'lent'; // Sundays during Lent are "little Easters" — recommend Glorious mysteries, no Lent tag
if (isLent(date) && date.getDay() !== 0) return 'lent';
return null; return null;
} }