This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] en_US: define date_fmt (bug 24046)
- From: Paul Eggert <eggert at cs dot ucla dot edu>
- To: Rafal Luzynski <digitalfreak at lingonborough dot com>, libc-alpha at sourceware dot org, Jim Meyering <jim at meyering dot net>
- Date: Wed, 2 Jan 2019 12:20:41 -0800
- Subject: Re: [PATCH] en_US: define date_fmt (bug 24046)
- References: <20181230235437.20485-1-aurelien@aurel32.net> <87tviuezmw.fsf@mid.deneb.enyo.de> <20181231110757.GA10366@aurel32.net> <53383782.1053654.1546280188345@poczta.nazwa.pl> <20190102174140.GA27639@aurel32.net>
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.