Blame SOURCES/coreutils-4.5.3-langinfo.patch

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