]> Savannah Git Hosting - gnulib.git/commit
nstrtime, c-nstrftime: Fix %c directive's result on glibc ≤ 2.30.
authorBruno Haible <bruno@clisp.org>
Sun, 24 Mar 2024 18:23:47 +0000 (19:23 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 24 Mar 2024 18:23:47 +0000 (19:23 +0100)
commit3978cc5adb34f3152f119d46f53e6e8e107158fa
tree1d2626df5eeb517b2d1b2a6a5ddc696a7f3ccab0
parent4bdc4f1708b6dbf87f80761287e478de3b0c5200
nstrtime, c-nstrftime: Fix %c directive's result on glibc ≤ 2.30.

* lib/strftime.c (__strftime_internal): On glibc ≤ 2.30, like on NetBSD
and Solaris, remove the last word of the %c directive's result if it
looks like a time zone.
* doc/posix-functions/strftime.texi: Update platforms list.
ChangeLog
doc/posix-functions/strftime.texi
lib/strftime.c