]> git.eshelyaron.com Git - emacs.git/commit
time-stamp: add support for time zone numeric offset
authorStephen Gildea <stepheng+emacs@gildea.com>
Wed, 6 Nov 2019 16:31:48 +0000 (08:31 -0800)
committerStephen Gildea <stepheng+emacs@gildea.com>
Wed, 6 Nov 2019 16:33:51 +0000 (08:33 -0800)
commit9ce67baa9a3733ae93885b6242130497b13c8703
tree8041bf428f56c53d6a2c2dfd62c6585370be6866
parentda2df1c1b5b5a7373f361875b43dd003a221e2e0
time-stamp: add support for time zone numeric offset

* time-stamp.el: Implement %:z as expanding to the numeric time zone
offset, to address the feature request of bug#32931.  Do not document it
yet, to discourage compatibility problems in mixed Emacs 26 and Emacs 27
environments.  Documentation will be added in a subsequent release at
least two years later.  (We cannot yet use %z for numeric time zone
because in Emacs 26 it was documented to do something else.)

* time-stamp-tests.el (time-stamp-test-format-time-zone): expand this
test and break it into two tests, time-stamp-test-format-time-zone-name
and time-stamp-test-format-time-zone-offset.
lisp/time-stamp.el
test/lisp/time-stamp-tests.el