]> Savannah Git Hosting - gnulib.git/commit
nstrftime: Work around strftime bug with %r on macOS and FreeBSD.
authorBruno Haible <bruno@clisp.org>
Wed, 7 Feb 2024 22:34:28 +0000 (23:34 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 7 Feb 2024 22:43:10 +0000 (23:43 +0100)
commit44a6681ba834fb575828e3864d4c21d3a7e2410e
tree5bf73fa4ebc649e69ba06275c40404cf04bf03e3
parentba582436f2f35ba34fdd636fb502a346863c82a1
nstrftime: Work around strftime bug with %r on macOS and FreeBSD.

* lib/strftime.c (__strftime_internal): For %r, don't use the underlying
strftime() directly.
* doc/posix-functions/strftime.texi: Mention the %r bug.
ChangeLog
doc/posix-functions/strftime.texi
lib/strftime.c