]> git.eshelyaron.com Git - emacs.git/commit
Fix unlikely time zone abbreviation bug
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Jan 2025 06:15:48 +0000 (22:15 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 30 Jan 2025 18:06:15 +0000 (19:06 +0100)
commitd789ad9dbe9fba13cb74b6bbb0b571d57b3f4f3e
tree1037f6a3239d13f182c4a2856ad33ea9f5ff7342
parentffe303a498c4e739f907dc870bfe98e2806491ed
Fix unlikely time zone abbreviation bug

* src/timefns.c (Fcurrent_time_zone): Fix double-"-" bug when time
zone name is not known and time zone offset is -3600 or less.
Also, stop assuming that make_formatted_string works with "*"
precisions; this might ease future changes.

(cherry picked from commit bcfd4d21b0a62c5c15b919fa28673066c493775a)
src/timefns.c