changeset 80699:2ba6b3010dbe

(holiday-julian): Fix a problem with holidays in the last fortnight in Julian October (sync from trunk 2008-03-31).
author Glenn Morris <rgm@gnu.org>
date Sun, 10 Aug 2008 20:05:45 +0000
parents 867aeedd5055
children 46a4abfd98ce
files lisp/calendar/cal-julian.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-julian.el	Sun Aug 10 20:05:15 2008 +0000
+++ b/lisp/calendar/cal-julian.el	Sun Aug 10 20:05:45 2008 +0000
@@ -153,7 +153,7 @@
            (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)))))