From 8364a4fb23f3a5e24fa2c9547d2fe2a412646c43 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Mon, 6 Apr 2026 21:04:27 +0200 Subject: [PATCH] fix: extend Regina Caeli period through Saturday after Pentecost The Regina Caeli replaces the Angelus from Easter Sunday through the Saturday after Pentecost (Easter + 55 days), not just until Ascension. --- src/lib/js/easter.svelte.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/lib/js/easter.svelte.ts b/src/lib/js/easter.svelte.ts index 6b317c9..769760b 100644 --- a/src/lib/js/easter.svelte.ts +++ b/src/lib/js/easter.svelte.ts @@ -25,16 +25,17 @@ function toMidnight(date: Date): Date { } /** - * Check if a date falls within Eastertide (Easter Sunday to Ascension Thursday, inclusive). - * Ascension = Easter + 39 days. + * Check if a date falls within the Regina Caeli period + * (Easter Sunday through Saturday after Pentecost, inclusive). + * Pentecost = Easter + 49 days; Saturday after = Easter + 55 days. */ export function isEastertide(date: Date = new Date()): boolean { const year = date.getFullYear(); const easter = computeEaster(year); - const ascension = new Date(easter); - ascension.setDate(ascension.getDate() + 39); + const satAfterPentecost = new Date(easter); + satAfterPentecost.setDate(satAfterPentecost.getDate() + 55); const d = toMidnight(date); - return d >= easter && d <= ascension; + return d >= easter && d <= satAfterPentecost; } /**