Blame SOURCES/coreutils-4.5.3-langinfo.patch

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