]> git.eshelyaron.com Git - emacs.git/commit
time-stamp: fix minor bug when parsing option combos
authorStephen Gildea <stepheng+emacs@gildea.com>
Sun, 30 May 2021 18:05:42 +0000 (11:05 -0700)
committerStephen Gildea <stepheng+emacs@gildea.com>
Sun, 30 May 2021 18:05:42 +0000 (11:05 -0700)
commita5b57fc6af7ec87c59d00a7631576f9f4bf99841
tree2384eb75571f6a069938889362b2307dfd5f7350
parentd6dc66053d846b6fc041889b4d0f383c8dac4da3
time-stamp: fix minor bug when parsing option combos

* lisp/time-stamp.el (time-stamp-string-preprocess): Handle digit
options correctly to avoid overcounting colon options.

* test/lisp/time-stamp-tests.el (time-stamp-format-time-zone-offset):
Add a new test case that would have caught the option-parsing error.
lisp/time-stamp.el
test/lisp/time-stamp-tests.el