From bbc054a9ab126a8047202fb8109e8225a3c8c48a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 7 May 1997 19:34:18 +0000 Subject: [PATCH] (holiday-passover-etc): Postpone date of Yom HaShoah to Monday if it falls on Sunday (as per ammendment passed by the Israeli Kenesset, May, 1997). --- lisp/calendar/cal-hebrew.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/calendar/cal-hebrew.el b/lisp/calendar/cal-hebrew.el index 23e6d694b08..79bbd956474 100644 --- a/lisp/calendar/cal-hebrew.el +++ b/lisp/calendar/cal-hebrew.el @@ -441,7 +441,10 @@ nil if it is not visible in the current calendar window." "Passover (seventh day)") (list (calendar-gregorian-from-absolute (+ abs-p 7)) "Passover (eighth day)") - (list (calendar-gregorian-from-absolute (+ abs-p 12)) + (list (calendar-gregorian-from-absolute + (if (zerop (% (+ abs-p 12) 7)) + (+ abs-p 13) + (+ abs-p 12))) "Yom HaShoah") (list (calendar-gregorian-from-absolute (if (zerop (% abs-p 7)) -- 2.39.2