mirror of
git://git.sv.gnu.org/coreutils
synced 2026-06-06 07:42:21 -04:00
Use the "C" locale when using --rfc-822 (-R), as
required by rfc822. Before, in the de_DE locale, date would print the German weekday and month abbreviations.
This commit is contained in:
@@ -517,6 +517,9 @@ show_date (const char *format, time_t when)
|
||||
return;
|
||||
}
|
||||
|
||||
if (rfc_format)
|
||||
setlocale (LC_ALL, "C");
|
||||
|
||||
do
|
||||
{
|
||||
out_length += 200;
|
||||
|
||||
Reference in New Issue
Block a user