[PATCH] en_US: define date_fmt (bug 24046)
Paul Eggert
eggert@cs.ucla.edu
Wed Jan 2 20:20:00 GMT 2019
Aurelien Jarno wrote:
> I have added Jim Meyering in Cc: who have done commit 5ca6863e97 on the
> coreutils side, so that the can confirm about that. If he stills
> remember of course, as the commit has been done more than 18 years
> ago...
That's so long ago that it's not in the GNU mailing list archives. However, as I
vaguely recall, Jim and I worked together on this, and the idea was that the
output of plain 'date' should be locale-dependent, that there was a mechanism to
do that in Solaris even though it was not in POSIX, and that we should use that
mechanism. I no longer have access to Solaris 8 (the circa 2000 version), but
on Solaris 10 in an en_US.ISO8859-1 locale if I run 'TZ=UTC0 date' the output is:
Wednesday, January 2, 2019 08:19:11 PM UTC
so it is indeed using 12-hour time with AM/PM, and with a timezone indication.
More information about the Libc-alpha
mailing list