]> git.eshelyaron.com Git - emacs.git/commitdiff
(holiday-passover-etc): Postpone date of Yom
authorRichard M. Stallman <rms@gnu.org>
Wed, 7 May 1997 19:34:18 +0000 (19:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 7 May 1997 19:34:18 +0000 (19:34 +0000)
HaShoah to Monday if it falls on Sunday (as per ammendment passed
by the Israeli Kenesset, May, 1997).

lisp/calendar/cal-hebrew.el

index 23e6d694b08640760c416d1f6d53e77131fd6ad9..79bbd95647423730816ac7fb124315fafe82ce20 100644 (file)
@@ -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))