1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-15 07:41:09 -08:00

(holiday-julian): Fix a problem with holidays in the last fortnight in

Julian October (sync from trunk 2008-03-31).
This commit is contained in:
Glenn Morris 2008-08-10 20:05:45 +00:00
parent 4f44bf18d3
commit bf9b4e4e7f

View 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)))))