Blame coreutils-4.5.3-langinfo.patch
|
cvsdist |
de6548 |
--- coreutils-4.5.3/src/date.c.langinfo 2002-11-28 18:02:47.000000000 +0000
|
|
cvsdist |
de6548 |
+++ coreutils-4.5.3/src/date.c 2002-11-28 18:04:04.000000000 +0000
|
|
cvsdist |
de6548 |
@@ -509,14 +509,7 @@
|
|
cvsdist |
de6548 |
else
|
|
cvsdist |
de6548 |
{
|
|
cvsdist |
de6548 |
char *date_fmt = DATE_FMT_LANGINFO ();
|
|
cvsdist |
de6548 |
- /* Do not wrap the following literal format string with _(...).
|
|
cvsdist |
de6548 |
- For example, suppose LC_ALL is unset, LC_TIME="POSIX",
|
|
cvsdist |
de6548 |
- and LANG="ko_KR". In that case, POSIX says that LC_TIME
|
|
cvsdist |
de6548 |
- determines the format and contents of date and time strings
|
|
cvsdist |
de6548 |
- written by date, which means "date" must generate output
|
|
cvsdist |
de6548 |
- using the POSIX locale; but adding _() would cause "date"
|
|
cvsdist |
de6548 |
- to use a Korean translation of the format. */
|
|
cvsdist |
de6548 |
- format = *date_fmt ? date_fmt : "%a %b %e %H:%M:%S %Z %Y";
|
|
cvsdist |
de6548 |
+ format = *date_fmt ? date_fmt : dcgettext(NULL, N_("%a %b %e %H:%M:%S %Z %Y"), LC_TIME);
|
|
cvsdist |
de6548 |
}
|
|
cvsdist |
de6548 |
}
|
|
cvsdist |
de6548 |
else if (*format == '\0')
|