summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-07 19:34:18 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-07 19:34:18 +0000
commitbbc054a9ab126a8047202fb8109e8225a3c8c48a (patch)
tree527e7cd8af4d076bac0a40e766906611d702fadc
parent214c0a6281a6baf83d25c5ec25070fc1c4114878 (diff)
downloademacs-bbc054a9ab126a8047202fb8109e8225a3c8c48a.tar.gz
(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).
-rw-r--r--lisp/calendar/cal-hebrew.el5
1 files changed, 4 insertions, 1 deletions
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))