← Commit list

39396b95f

Eric Andersen
Eric Andersen
2004-04-06
FAILED Duration: 70s

Subject

Fix non standard 'date -R' formatting

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/date.c+4 -4
@@ -253,10 +253,10 @@ int date_main(int argc, char **argv)
case 0:
default:
#endif
- date_fmt =
- (opt & DATE_OPT_RFC2822
- ? (utc ? "%a, %e %b %Y %H:%M:%S GMT" :
- "%a, %e %b %Y %H:%M:%S %z") : "%a %b %e %H:%M:%S %Z %Y");
+ date_fmt = (opt & DATE_OPT_RFC2822 ?
+ (utc ? "%a, %d %b %Y %H:%M:%S GMT" :
+ "%a, %d %b %Y %H:%M:%S %z") :
+ "%a %b %e %H:%M:%S %Z %Y");
#ifdef CONFIG_FEATURE_DATE_ISOFMT
break;