Mercurial > emacs
changeset 17694:c9fd662941e3
(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).
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 07 May 1997 19:34:18 +0000 |
parents | b40e126b30fd |
children | 5788aa5f0fd0 |
files | lisp/calendar/cal-hebrew.el |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/cal-hebrew.el Wed May 07 19:22:58 1997 +0000 +++ b/lisp/calendar/cal-hebrew.el Wed May 07 19:34:18 1997 +0000 @@ -441,7 +441,10 @@ "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))