emacs/test/lisp/calendar
Paul Eggert 2dc98b69e0 format-seconds takes time values, not just numbers
* lisp/calendar/time-date.el (format-seconds): Document that the arg
can be any time value, and need not be a number.
This has been true for some time, but has not been documented.
Avoid some (but not all) rounding errors internally, and add a
comment about the remaining rounding error.
* lisp/emacs-lisp/timer-list.el (list-timers):
* lisp/org/org-timer.el (org-timer-show-remaining-time):
* lisp/org/ox.el (org-export--stack-generate):
* lisp/time.el (emacs-uptime): Omit unnecessary conversion of time
value that can increase rounding error.
* test/lisp/calendar/time-date-tests.el (test-format-seconds):
Test that format-seconds works on time values that are not numbers.
2026-06-05 19:16:29 -07:00
..
diary-icalendar-resources Add full support for iCalendar (RFC5545) data 2025-12-20 13:38:02 -05:00
icalendar-resources Add full support for iCalendar (RFC5545) data 2025-12-20 13:38:02 -05:00
todo-mode-resources Prevent spurious tabs by RET in todo-edit-mode (bug#43068) 2020-08-27 13:53:22 +02:00
cal-bahai-tests.el ; calendar-bahai: Move tests and convert to ERT 2026-01-24 13:25:14 +02:00
cal-french-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
cal-julian-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calendar-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
diary-icalendar-tests.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
holidays-tests.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
icalendar-ast-tests.el iCalendar code improvements 2025-12-29 14:11:17 -05:00
icalendar-parser-tests.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-recur-tests.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-tests.el Merge branch 'main' into icalendar 2026-02-08 16:05:31 -05:00
iso8601-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lunar-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
parse-time-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
solar-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
time-date-tests.el format-seconds takes time values, not just numbers 2026-06-05 19:16:29 -07:00
todo-mode-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00