Blame SOURCES/coreutils-4.5.3-langinfo.patch

dd59ef
--- coreutils-5.92/src/date.c.langinfo	2005-09-16 09:06:57.000000000 +0100
dd59ef
+++ coreutils-5.92/src/date.c	2005-10-24 18:09:16.000000000 +0100
dd59ef
@@ -451,14 +451,7 @@
dd59ef
       format = DATE_FMT_LANGINFO ();
dd59ef
       if (! *format)
dd59ef
         {
dd59ef
-          /* Do not wrap the following literal format string with _(...).
dd59ef
-             For example, suppose LC_ALL is unset, LC_TIME=POSIX,
dd59ef
-             and LANG="ko_KR".  In that case, POSIX says that LC_TIME
dd59ef
-             determines the format and contents of date and time strings
dd59ef
-             written by date, which means "date" must generate output
dd59ef
-             using the POSIX locale; but adding _() would cause "date"
dd59ef
-             to use a Korean translation of the format.  */
dd59ef
-          format = "%a %b %e %H:%M:%S %Z %Y";
dd59ef
+          format = dcgettext(NULL, N_("%a %b %e %H:%M:%S %Z %Y"), LC_TIME);
dd59ef
         }
dd59ef
     }
dd59ef