aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/calendar/cal-hebrew.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-05-07 19:34:18 +0000
committerRichard M. Stallman <[email protected]>1997-05-07 19:34:18 +0000
commitbbc054a9ab126a8047202fb8109e8225a3c8c48a (patch)
tree527e7cd8af4d076bac0a40e766906611d702fadc /lisp/calendar/cal-hebrew.el
parent214c0a6281a6baf83d25c5ec25070fc1c4114878 (diff)
(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).
Diffstat (limited to 'lisp/calendar/cal-hebrew.el')
-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 23e6d694b0..79bbd95647 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))