Blame SOURCES/coreutils-4.5.3-langinfo.patch

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