b12d395039
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/coreutils#f4b85e63ba4ad4457596bf9181b39e7831c9e701
21 lines
857 B
Diff
21 lines
857 B
Diff
diff --git a/src/date.c b/src/date.c
|
|
index ddb011e..619a72b 100644
|
|
--- a/src/date.c
|
|
+++ b/src/date.c
|
|
@@ -490,14 +490,7 @@ main (int argc, char **argv)
|
|
format = DATE_FMT_LANGINFO ();
|
|
if (! *format)
|
|
{
|
|
- /* Do not wrap the following literal format string with _(...).
|
|
- For example, suppose LC_ALL is unset, LC_TIME=POSIX,
|
|
- and LANG="ko_KR". In that case, POSIX says that LC_TIME
|
|
- determines the format and contents of date and time strings
|
|
- 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);
|
|
}
|
|
}
|
|
|