From: Daniel Stenberg Date: Wed, 29 Sep 2021 10:57:03 +0000 (+0200) Subject: gen.pl: make the output date format work better X-Git-Tag: curl-7_80_0~154 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b2260b03649f1518e6da5adce287526dd75d23f;p=thirdparty%2Fcurl.git gen.pl: make the output date format work better Follow-up to 15910dfd143dd The previous strftime format used didn't work correctly on Windows, so change to %B %d %Y which today looks like "September 29 2021". Reported-by: Gisle Vanem Bug: #7782 Closes #7793 --- diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl index eb9b328492..405099b710 100755 --- a/docs/cmdline-opts/gen.pl +++ b/docs/cmdline-opts/gen.pl @@ -46,7 +46,7 @@ my %protolong; my %catlong; use POSIX qw(strftime); -my $date = strftime "%b %e %Y", localtime; +my $date = strftime "%B %d %Y", localtime; my $version = "unknown"; open(INC, "<../../include/curl/curlver.h");