1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
emacs/lisp/calendar
Paul Eggert 9d829b8be5 Fix off-by-one bug in ISO 8601 BC years
* lisp/calendar/iso8601.el (iso8601--year-match)
(iso8601--full-date-match, iso8601--without-day-match)
(iso8601--week-date-match, iso8601--ordinal-date-match)
(iso8601-parse-date):
Don’t bother to separate the year’s sign from the year,
as that distinction is not needed: ISO 8601 uses
astronomical year numbering with a year zero, which
is what the Emacs time functions use, so there’s no
need to treat nonpositive years specially.
(iso8601--adjust-year): Remove; no longer needed
since callers can just use string-to-number.
* test/lisp/calendar/iso8601-tests.el (test-iso8601-date-years):
Adjust test case to match fixed behavior.
2019-10-05 21:24:09 -07:00
..
appt.el Use decoded time accessors in appt 2019-07-30 13:07:17 +02:00
cal-bahai.el Suppress warning about prefixless date variable in calendar 2019-06-15 14:22:45 +02:00
cal-china.el Suppress warning about `entry' in calendar 2019-06-15 14:30:50 +02:00
cal-coptic.el Suppress warning about prefixless date variable in calendar 2019-06-15 14:22:45 +02:00
cal-dst.el lisp/*.el: Fix typos and other trivial doc fixes 2019-09-21 00:27:53 +02:00
cal-french.el Suppress warning about prefixless date variable in calendar 2019-06-15 14:22:45 +02:00
cal-hebrew.el Suppress warning about `entry' in calendar 2019-06-15 14:30:50 +02:00
cal-html.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cal-islam.el Suppress warning about prefixless date variable in calendar 2019-06-15 14:22:45 +02:00
cal-iso.el Suppress warning about prefixless date variable in calendar 2019-06-15 14:22:45 +02:00
cal-julian.el Suppress warning about prefixless date variable in calendar 2019-06-15 14:22:45 +02:00
cal-mayan.el lisp/*.el: Fix typos and other trivial doc fixes 2019-09-21 00:27:53 +02:00
cal-menu.el ; Unmaintain 2019-06-01 12:11:55 -07:00
cal-move.el ; Unmaintain 2019-06-01 12:11:55 -07:00
cal-persia.el Remove no-longer-needed integer overflow code 2019-07-22 16:36:50 -07:00
cal-tex.el ; Unmaintain 2019-06-01 12:11:55 -07:00
cal-x.el ; Unmaintain 2019-06-01 12:11:55 -07:00
calendar.el lisp/*.el: Fix typos and other trivial doc fixes 2019-09-21 00:27:53 +02:00
diary-lib.el lisp/*.el: Fix typos and other trivial doc fixes 2019-09-21 00:27:53 +02:00
holidays.el ; Unmaintain 2019-06-01 12:11:55 -07:00
icalendar.el Handle missing start-time when importing ical event (Bug#33277) 2019-09-09 18:35:02 +02:00
iso8601.el Fix off-by-one bug in ISO 8601 BC years 2019-10-05 21:24:09 -07:00
lunar.el Suppress warning about prefixless date variable in calendar 2019-06-15 14:22:45 +02:00
parse-time.el More-compatible subsecond calendrical timestamps 2019-08-16 23:25:07 -07:00
solar.el ; Unmaintain 2019-06-01 12:11:55 -07:00
time-date.el Improve documentation for year-zero issues 2019-10-05 21:24:09 -07:00
timeclock.el New function time-convert 2019-08-05 18:37:29 -07:00
todo-mode.el todo-mode.el compilation warning fix 2019-06-13 01:12:23 +02:00