]> git.ipfire.org Git - thirdparty/coreutils.git/commit
date: fix calendar-related test failures on macOS and OpenBSD
authorBruno Haible <bruno@clisp.org>
Thu, 31 Jul 2025 16:42:02 +0000 (18:42 +0200)
committerCollin Funk <collin.funk1@gmail.com>
Fri, 1 Aug 2025 04:54:49 +0000 (21:54 -0700)
commit4d03487bbb339fad7d21f407e9ca2f3a0618ca2a
treebeff5b4fdee35bd17e5fe514f1f6cc80de5e4df5
parent5bdd466c68e0c634214a49b994e4ed25fbeb07c1
date: fix calendar-related test failures on macOS and OpenBSD

* bootstrap.conf (gnulib_modules): Add xsetenv.
* src/date.c: Include xsetenv.h.
(set_LC_TIME): New function.
(show_date_helper): Call set_LC_TIME instead of setlocale.
* po/POTFILES.in: Add lib/xsetenv.c.
Fixes https://bugs.gnu.org/79118
bootstrap.conf
po/POTFILES.in
src/date.c