rosary: recommend Glorious mysteries on Lenten Sundays

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 fefad983ae
commit a5849292e8
+2 -1
View File
@@ -51,6 +51,7 @@ export type LiturgicalSeason = 'eastertide' | 'lent' | null;
*/
export function getLiturgicalSeason(date: Date = new Date()): LiturgicalSeason {
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;
}