coreutils/coreutils-7.6-langinfo.patch

13 lines
568 B
Diff
Raw Normal View History

diff -Nru coreutils-7.6.orig/src/date.c coreutils-7.6/src/date.c
--- coreutils-7.6.orig/src/date.c 2009-09-01 13:01:16.000000000 +0200
+++ coreutils-7.6/src/date.c 2009-10-11 13:18:29.000000000 +0200
@@ -456,7 +456,7 @@
written by date, which means "date" must generate output
using the POSIX locale; but adding _() would cause "date"
to use a Korean translation of the format. */
- format = "%a %b %e %H:%M:%S %Z %Y";
+ format = dcgettext(NULL, N_("%a %b %e %H:%M:%S %Z %Y"), LC_TIME);
}
}