]> git.eshelyaron.com Git - emacs.git/commit
Fix 'format-seconds' when all values are zero and %z is used
authorEli Zaretskii <eliz@gnu.org>
Wed, 10 Apr 2024 14:00:34 +0000 (17:00 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 10 Apr 2024 20:30:48 +0000 (22:30 +0200)
commit056d784c8fb55cd737969f5ec2bc2d77f6c4153c
treeeaa06d187b6143def542de9e37a88451eb1dbb1f
parent181d8800af574826d542ecd666f192fa5606c03b
Fix 'format-seconds' when all values are zero and %z is used

* lisp/calendar/time-date.el (format-seconds): Fix all-zero time.

* test/lisp/calendar/time-date-tests.el (test-format-seconds): Add
two new tests.  (Bug#70322)

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