aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-06 09:38:18 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-06 09:38:18 +0000
commit39396b95fc7c46bfa29ec576357fb7f8e755762c (patch)
tree49241fe85a5c40eecac302a0559752e010059d04 /coreutils
parentc354f6ee54c53057eca50359a94c7b50246b0e53 (diff)
downloadbusybox-w32-39396b95fc7c46bfa29ec576357fb7f8e755762c.tar.gz
busybox-w32-39396b95fc7c46bfa29ec576357fb7f8e755762c.tar.bz2
busybox-w32-39396b95fc7c46bfa29ec576357fb7f8e755762c.zip
Fix non standard 'date -R' formatting
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/date.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index 9c763299f..6edca5b15 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -253,10 +253,10 @@ int date_main(int argc, char **argv)
253 case 0: 253 case 0:
254 default: 254 default:
255#endif 255#endif
256 date_fmt = 256 date_fmt = (opt & DATE_OPT_RFC2822 ?
257 (opt & DATE_OPT_RFC2822 257 (utc ? "%a, %d %b %Y %H:%M:%S GMT" :
258 ? (utc ? "%a, %e %b %Y %H:%M:%S GMT" : 258 "%a, %d %b %Y %H:%M:%S %z") :
259 "%a, %e %b %Y %H:%M:%S %z") : "%a %b %e %H:%M:%S %Z %Y"); 259 "%a %b %e %H:%M:%S %Z %Y");
260 260
261#ifdef CONFIG_FEATURE_DATE_ISOFMT 261#ifdef CONFIG_FEATURE_DATE_ISOFMT
262 break; 262 break;