]> git.eshelyaron.com Git - emacs.git/commit
Use numeric time zone suffix in ERT explainer.
authorPhilipp Stephani <p.stephani2@gmail.com>
Wed, 26 Mar 2025 02:32:46 +0000 (03:32 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 27 Mar 2025 10:12:32 +0000 (11:12 +0100)
commitac479364ed5913b5f0b3e8f136107e3a50b846a9
treee22c88109610199352e4eaa584b5a9e5c2eddffe
parente23b215ae19b0400e0d0f1c7ef1d2a9622275e2c
Use numeric time zone suffix in ERT explainer.

This is more robust since the time zone name is system-dependent.

* lisp/emacs-lisp/ert.el (ert--explain-time-equal-p): Use numeric time
zone suffix.

* test/lisp/emacs-lisp/ert-tests.el (ert-test-explain-time-equal-p):
Adapt test.

(cherry picked from commit 2d278a0f2e945eef30752550f900c1c88367fb6b)
lisp/emacs-lisp/ert.el
test/lisp/emacs-lisp/ert-tests.el