diff options
| author | Stephen Gildea | 2019-11-13 20:21:42 -0800 |
|---|---|---|
| committer | Stephen Gildea | 2019-11-13 21:11:28 -0800 |
| commit | 1d189843bb2a4f23dc269314d5e6dfb4f9fe801e (patch) | |
| tree | 8d501f048c8739cd442e827324d947adbe941136 /etc | |
| parent | 3ecbfefa7239bd071262db25dfc9c97a01ec9ca1 (diff) | |
| download | emacs-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/NEWS | 13 |
1 files changed, 12 insertions, 1 deletions
| @@ -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 |
| 2249 | good replacement, even in very large source files. | 2249 | good 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. | ||
| 2254 | Specifying '%5z' in 'time-stamp-format' or 'time-stamp-pattern' | ||
| 2255 | expands to the time zone offset, e.g., '+0100'. The time zone used is | ||
| 2256 | specified by 'time-stamp-time-zone'. | ||
| 2257 | |||
| 2258 | Because this feature is new in Emacs 27.1, do not use it in the local | ||
| 2259 | variables section of any file that might be edited by an older version | ||
| 2260 | of Emacs. | ||
| 2261 | |||
| 2262 | *** Some conversions recommended for 'time-stamp-format' have changed. | ||
| 2252 | The new documented/recommended %-conversions are closer to those | 2263 | The new documented/recommended %-conversions are closer to those |
| 2253 | used by 'format-time-string' and are compatible at least as far back | 2264 | used by 'format-time-string' and are compatible at least as far back |
| 2254 | as Emacs 22.1 (released in 2007). | 2265 | as Emacs 22.1 (released in 2007). |