Blame SOURCES/coreutils-4.5.3-langinfo.patch

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