]> git.ipfire.org Git - thirdparty/coreutils.git/commit
date: with --debug, show the output format
authorPádraig Brady <P@draigBrady.com>
Mon, 30 Nov 2020 19:06:59 +0000 (19:06 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 1 Dec 2020 13:51:06 +0000 (13:51 +0000)
commite361bff8a5ef97fd784a79ce789d8ac6c7e20fc7
tree3edf4d0de9311c9724fcf780f7d64a78e839b890
parent5ed804a9b8d6e7ab217fff5bfb11824f69f03e48
date: with --debug, show the output format

The format can be determined from --options or the locale,
so it's useful to output the format string being used.

* src/date.c (show_date): Show the output format
along with the date being shown.
* tests/misc/date-debug.sh: Adjust accordingly.
Addresses https://bugs.gnu.org/44960
src/date.c
tests/misc/date-debug.sh