Blame SOURCES/coreutils-4.5.3-langinfo.patch

d3767b
diff --git a/src/date.c b/src/date.c
d3767b
index ddb011e..619a72b 100644
d3767b
--- a/src/date.c
d3767b
+++ b/src/date.c
d3767b
@@ -490,14 +490,7 @@ main (int argc, char **argv)
d3767b
       format = DATE_FMT_LANGINFO ();
d3767b
       if (! *format)
d3767b
         {
d3767b
-          /* Do not wrap the following literal format string with _(...).
d3767b
-             For example, suppose LC_ALL is unset, LC_TIME=POSIX,
d3767b
-             and LANG="ko_KR".  In that case, POSIX says that LC_TIME
d3767b
-             determines the format and contents of date and time strings
d3767b
-             written by date, which means "date" must generate output
d3767b
-             using the POSIX locale; but adding _() would cause "date"
d3767b
-             to use a Korean translation of the format.  */
d3767b
-          format = "%a %b %e %H:%M:%S %Z %Y";
d3767b
+          format = dcgettext(NULL, N_("%a %b %e %H:%M:%S %Z %Y"), LC_TIME);
d3767b
         }
d3767b
     }
d3767b