Fix format-time-string %Z bug with negative tz
commit541006c53623cb5fb7dfae475baae5d64fc6e9d0
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Sep 2017 03:38:12 +0000 (17 20:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Sep 2017 03:39:12 +0000 (17 20:39 -0700)
treed3d14ad0815c1c220a90aea03e86db97b9bf23bf
parent679e05eeb97eae5a32fc67f4673b019c873ebcca
Fix format-time-string %Z bug with negative tz

* src/editfns.c (tzlookup): Fix sign error in %Z when a purely
numeric zone is negative (Bug#28746).
* test/src/editfns-tests.el (format-time-string-with-zone):
Add test for this bug.
src/editfns.c
test/src/editfns-tests.el