Pádraig Brady <p...@draigbrady.com> writes: >> Thanks for the review. Here's an updated proposed patch, that fixes >> these >> two issues. > > Pushed.
Thanks for checking, Pádraig. I wanted to give you a chance to review. I pushed the two attached patches to update gnulib for the nstrftime changes that implement this feature, and to add a NEWS entry for the improvement. Collin
>From 1b98590037c8abdaa9c8cc7e149a990d22e9d422 Mon Sep 17 00:00:00 2001 Message-ID: <1b98590037c8abdaa9c8cc7e149a990d22e9d422.1753135775.git.collin.fu...@gmail.com> From: Collin Funk <collin.fu...@gmail.com> Date: Mon, 21 Jul 2025 14:43:59 -0700 Subject: [PATCH 1/2] build: update gnulib submodule to latest * bootstrap: Update using './bootstrap --bootstrap-sync'. --- bootstrap | 10 +++++----- gnulib | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bootstrap b/bootstrap index fef3cbcd3..dc9fb4383 100755 --- a/bootstrap +++ b/bootstrap @@ -3,7 +3,7 @@ # Bootstrap this package from checked-out sources. -scriptversion=2024-07-04.10; # UTC +scriptversion=2025-06-10.02; # UTC # Copyright (C) 2003-2025 Free Software Foundation, Inc. # @@ -37,7 +37,7 @@ medir=`dirname "$me"` # A library of shell functions for autopull.sh, autogen.sh, and bootstrap. -scriptlibversion=2025-02-16.12; # UTC +scriptlibversion=2025-06-10.02; # UTC # Copyright (C) 2003-2025 Free Software Foundation, Inc. # @@ -1337,7 +1337,7 @@ autogen() # Invoke autoreconf with --force --install to ensure upgrades of tools # such as ylwrap. - AUTORECONFFLAGS="--verbose --install --force -I $m4_base $ACLOCAL_FLAGS" + AUTORECONFFLAGS="--verbose --install --force $ACLOCAL_FLAGS" AUTORECONFFLAGS="$AUTORECONFFLAGS --no-recursive" # Tell autoreconf not to invoke autopoint or libtoolize; they were run above. @@ -1413,7 +1413,7 @@ autogen() # Local Variables: # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "scriptlibversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-format: "%Y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: @@ -1624,7 +1624,7 @@ fi # Local Variables: # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-format: "%Y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff --git a/gnulib b/gnulib index d79e2998c..91aacb553 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit d79e2998ca2c2c38439533306312e79f5d86cf68 +Subproject commit 91aacb5536d4e768064c4f4d8d28bef6aa37e534 -- 2.50.1
>From 027855dcad52d718927c3405bc7d605143e2a625 Mon Sep 17 00:00:00 2001 Message-ID: <027855dcad52d718927c3405bc7d605143e2a625.1753135775.git.collin.fu...@gmail.com> In-Reply-To: <1b98590037c8abdaa9c8cc7e149a990d22e9d422.1753135775.git.collin.fu...@gmail.com> References: <1b98590037c8abdaa9c8cc7e149a990d22e9d422.1753135775.git.collin.fu...@gmail.com> From: Collin Funk <collin.fu...@gmail.com> Date: Mon, 21 Jul 2025 14:47:30 -0700 Subject: [PATCH 2/2] doc: NEWS: mention that 'date' now supports non-Gregorian calendars Suggested by Bruno Haible in: <https://lists.gnu.org/r/bug-gnulib/2025-07/msg00091.html>. * NEWS: Mention the improvement. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS b/NEWS index b6e41f2a2..f4a4739a8 100644 --- a/NEWS +++ b/NEWS @@ -54,6 +54,10 @@ GNU coreutils NEWS -*- outline -*- Also on other systems the full set of supported baud rates is determined at build time if possible. + 'date' now outputs dates in the country's native calendar for the + Iranian locale (fa_IR) and for the Ethiopian locale (am_ET), and also + does so more consistently for the Thailand locale (th_TH.UTF-8). + * Noteworthy changes in release 9.7 (2025-04-09) [stable] -- 2.50.1