changeset 107315:893db3292264

Fix date of Yom HaAtzma'ut holiday. * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
author Glenn Morris <rgm@gnu.org>
date Mon, 01 Mar 2010 19:27:41 -0800
parents 8a921fc271ee
children 3463009c99e0
files lisp/ChangeLog lisp/calendar/cal-hebrew.el
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Mar 02 10:35:00 2010 +0900
+++ b/lisp/ChangeLog	Mon Mar 01 19:27:41 2010 -0800
@@ -1,3 +1,8 @@
+2010-03-02  Glenn Morris  <rgm@gnu.org>
+
+	* calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
+	of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
+
 2010-03-01  Alan Mackenzie  <acm@muc.de>
 
 	* progmodes/cc-engine.el (c-remove-stale-state-cache): Correct
--- a/lisp/calendar/cal-hebrew.el	Tue Mar 02 10:35:00 2010 +0900
+++ b/lisp/calendar/cal-hebrew.el	Mon Mar 01 19:27:41 2010 -0800
@@ -505,7 +505,9 @@
                       (+ abs-p 18)
                     (if (= (% abs-p 7) 6)
                         (+ abs-p 19)
-                      (+ abs-p 20))))
+                      (if (= (% abs-p 7) 2)
+                          (+ abs-p 21)
+                        (+ abs-p 20)))))
                  "Yom HaAtzma'ut")
            (list (calendar-gregorian-from-absolute (+ abs-p 33))
                  "Lag BaOmer")