1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 22:40:46 -08:00
emacs/test/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
..
todo-mode-resources Add new todo-mode.el tests 2017-07-07 22:03:21 +02:00
icalendar-tests.el Handle missing start-time when importing ical event (Bug#33277) 2019-09-09 18:35:02 +02:00
iso8601-tests.el Fix off-by-one bug in ISO 8601 BC years 2019-10-05 21:24:09 -07:00
parse-time-tests.el More-compatible subsecond calendrical timestamps 2019-08-16 23:25:07 -07:00
time-date-tests.el Subtracting “now” from “now” should yield zero 2019-08-16 18:12:24 -07:00
todo-mode-tests.el Fix warnings in todo-mode-tests.el (Bug#36569) 2019-07-10 11:26:18 +01:00