]> git.eshelyaron.com Git - emacs.git/commitdiff
(holiday-julian): Fix a problem with holidays in the last fortnight in
authorGlenn Morris <rgm@gnu.org>
Sun, 10 Aug 2008 20:05:45 +0000 (20:05 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 10 Aug 2008 20:05:45 +0000 (20:05 +0000)
Julian October (sync from trunk 2008-03-31).

lisp/calendar/cal-julian.el

index ef7ad67272b4a9152a3221d557d5ea7409f39895..273958f4e02ee66e8535854fe9a231c138778c54 100644 (file)
@@ -153,7 +153,7 @@ nil if it is not visible in the current calendar window."
            (julian-end (calendar-julian-from-absolute end-date))
            (julian-y1 (extract-calendar-year julian-start))
            (julian-y2 (extract-calendar-year julian-end)))
-      (setq year (if (< 10 month) julian-y1 julian-y2))
+      (setq year (if (<= 10 month) julian-y1 julian-y2))
       (let ((date (calendar-gregorian-from-absolute
                    (calendar-absolute-from-julian
                     (list month day year)))))