]> git.eshelyaron.com Git - emacs.git/commit
time-stamp: properly abbreviate instead of truncating names
authorStephen Gildea <stepheng+emacs@gildea.com>
Tue, 10 Dec 2024 17:09:39 +0000 (09:09 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 12 Dec 2024 15:48:00 +0000 (16:48 +0100)
commit7012e5a33ce3a664a5060c646f1be1169a4d9dee
tree0effe5984c91cc6e5d06b8581dee5f940a5e4c6e
parent361109e038531ae731fe40b06e0594d9f4daf711
time-stamp: properly abbreviate instead of truncating names

* lisp/time-stamp (time-stamp-string-preprocess): Stop truncating month
and weekday name strings; it didn't internationalize well.
Some historical conversions, previously accepted quietly, now warn.
(time-stamp-format): Recommend the simpler formats implemented in 2019.
* test/lisp/time-stamp-tests.el: Update tests and comments to match.
Revert commit 83e4559664 (2022-07-01), which was working around the
former confusion between truncation and abbreviation.

(cherry picked from commit 7665ec8df8d1c01211db6a85dda4813d6912ffee)
lisp/time-stamp.el
test/lisp/time-stamp-tests.el