]> git.eshelyaron.com Git - emacs.git/commit
Improve format-seconds on negative args
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Feb 2025 06:20:04 +0000 (22:20 -0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 11:15:17 +0000 (12:15 +0100)
commited7de4be0a7b2848f9fbcb5790238fdbaae7c009
tree37444a5434864236280ca9e37e5b6e76b4ed6584
parent844c2f7e46b7ef3c135ced342faeade09673f22b
Improve format-seconds on negative args

* lisp/calendar/time-date.el (format-seconds):
Work better with negative seconds (Bug#75849).
* test/lisp/calendar/time-date-tests.el (test-format-seconds): Test it.

(cherry picked from commit 6b40dbda6ad6d677c69263785ff4db7010840b6e)
lisp/calendar/time-date.el
test/lisp/calendar/time-date-tests.el