emacs/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
..
appt.el Use single-arg form of signal to re-throw an error 2026-03-10 10:48:22 -04:00
cal-bahai.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-china.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-coptic.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-dst.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-french.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-hebrew.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-html.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-islam.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-iso.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
cal-julian.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-mayan.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-menu.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-move.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-persia.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-tex.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-x.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calendar.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
diary-icalendar.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
diary-lib.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
holidays.el calendar-check-holidays: Call calendar-increment-month 2026-02-25 14:06:53 +00:00
icalendar-ast.el ; Spelling fixes. 2026-04-29 22:45:51 -07:00
icalendar-macs.el Add short documentation group for iCalendar lib 2026-04-12 12:17:33 +03:00
icalendar-mode.el Some minor code improvements in iCalendar library 2026-01-03 15:31:01 -05:00
icalendar-parser.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-recur.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-shortdoc.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-utils.el Add short documentation group for iCalendar lib 2026-04-12 12:17:33 +03:00
icalendar.el Add short documentation group for iCalendar lib 2026-04-12 12:17:33 +03:00
iso8601.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lunar.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
parse-time.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
solar.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
time-date.el format-seconds takes time values, not just numbers 2026-06-05 19:16:29 -07:00
timeclock.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
todo-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00