Hi,

It seems that date command does not print out
locale style format under various locale.
The behavior of the default date command is 
defined: "%a %b %e %H:%M:%S %Z %Y" under locale == C.
It, however, should change "%c".
The reason is that POSIX or XPG said 
date command should print LC_TIME format.

Now the patch. Original patch was created by
MATSUURA Takanori <[EMAIL PROTECTED]>,
but I fixed some parts. My patch is below:

--- date.c.org  Tue Mar 28 18:16:39 2000
+++ date.c      Tue Mar 28 18:16:50 2000
@@ -496,7 +496,7 @@
                   : "%a, %_d %b %Y %H:%M:%S %z")
                : (iso_8601_format
                   ? iso_format_string[iso_8601_format][universal_time]
-                  : "%a %b %e %H:%M:%S %Z %Y"));
+                  : "%c"));
     }
   else if (*format == '\0')
     {


I have no responce whenever I sent my patch, so
want to get quick responce from GNU, or sh-utils maintainer!

Regards,
-- GOTO Masanori

Reply via email to