Blame SOURCES/coreutils-4.5.3-langinfo.patch

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