aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/date.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index 37ccfd5ba..a6690e8bd 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -212,7 +212,8 @@ format_utc:
212 } 212 }
213 } else if (opt & DATE_OPT_RFC2822) { 213 } else if (opt & DATE_OPT_RFC2822) {
214 /* Undo busybox.c for date -R */ 214 /* Undo busybox.c for date -R */
215 setlocale(LC_TIME, "C"); 215 if (ENABLE_LOCALE_SUPPORT)
216 setlocale(LC_TIME, "C");
216 strcpy(date_fmt, "%a, %d %b %Y %H:%M:%S "); 217 strcpy(date_fmt, "%a, %d %b %Y %H:%M:%S ");
217 i = 22; 218 i = 22;
218 goto format_utc; 219 goto format_utc;