aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStephen Gildea2019-11-13 20:21:42 -0800
committerStephen Gildea2019-11-13 21:11:28 -0800
commit1d189843bb2a4f23dc269314d5e6dfb4f9fe801e (patch)
tree8d501f048c8739cd442e827324d947adbe941136 /etc
parent3ecbfefa7239bd071262db25dfc9c97a01ec9ca1 (diff)
downloademacs-1d189843bb2a4f23dc269314d5e6dfb4f9fe801e.tar.gz
emacs-1d189843bb2a4f23dc269314d5e6dfb4f9fe801e.zip
time-stamp: update support for time zone numeric offset
* time-stamp.el (time-stamp-string-preprocess): Change new format for numeric time zone from %:z to %5z to match format-time-string better. (time-stamp-format): Document support for numeric time zone. See discussion in bug#32931. * NEWS: Mention time-stamp-format %5z.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS13
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ff334493298..485d2b1fdf4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2248,7 +2248,18 @@ and 'gravatar-force-default'.
2248*** The built-in ada-mode is now deleted. The GNU ELPA package is a 2248*** The built-in ada-mode is now deleted. The GNU ELPA package is a
2249good replacement, even in very large source files. 2249good replacement, even in very large source files.
2250 2250
2251** Some conversions recommended for 'time-stamp-format' have changed. 2251** time-stamp
2252
2253*** New '%5z' conversion for 'time-stamp-format' gives time zone offset.
2254Specifying '%5z' in 'time-stamp-format' or 'time-stamp-pattern'
2255expands to the time zone offset, e.g., '+0100'. The time zone used is
2256specified by 'time-stamp-time-zone'.
2257
2258Because this feature is new in Emacs 27.1, do not use it in the local
2259variables section of any file that might be edited by an older version
2260of Emacs.
2261
2262*** Some conversions recommended for 'time-stamp-format' have changed.
2252The new documented/recommended %-conversions are closer to those 2263The new documented/recommended %-conversions are closer to those
2253used by 'format-time-string' and are compatible at least as far back 2264used by 'format-time-string' and are compatible at least as far back
2254as Emacs 22.1 (released in 2007). 2265as Emacs 22.1 (released in 2007).