]> git.eshelyaron.com Git - emacs.git/commit
'seconds-to-string': new optional arguments for readable strings
authorJD Smith <93749+jdtsmith@users.noreply.github.com>
Thu, 11 Jul 2024 20:24:17 +0000 (16:24 -0400)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:19:31 +0000 (16:19 +0100)
commit2eaf4ff8ec9386c14026f2fd7565b0ed4b74ba2f
tree53e2cde72231b932baea097e58c40e959525ade8
parentba5c005dec21a3eca60875059050e962b99d91f0
'seconds-to-string': new optional arguments for readable strings

* lisp/calendar/time-date.el (seconds-to-string): Accept new
optional arguments READABLE, ABBREV, and PRECISION, and format the
output string accordingly.  (Bug#71572)

* doc/lispref/os.texi (Time Calculations):
* etc/NEWS: Document the new arguments of 'seconds-to-string'.

(cherry picked from commit 308d5d54737917d449bfc0bf80815537eef69446)
doc/lispref/os.texi
lisp/calendar/time-date.el