projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0145667
)
Use the "C" locale when using --rfc-822 (-R), as
author
Jim Meyering
<jim@meyering.net>
Sun, 9 Apr 2000 07:33:25 +0000
(07:33 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 9 Apr 2000 07:33:25 +0000
(07:33 +0000)
required by rfc822. Before, in the de_DE locale, date would
print the German weekday and month abbreviations.
src/date.c
patch
|
blob
|
history
diff --git
a/src/date.c
b/src/date.c
index
555bf7e
..
4f779ec
100644
(file)
--- a/
src/date.c
+++ b/
src/date.c
@@
-517,6
+517,9
@@
show_date (const char *format, time_t when)
return;
}
+ if (rfc_format)
+ setlocale (LC_ALL, "C");
+
do
{
out_length += 200;