]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
gen.pl: make the output date format work better
authorDaniel Stenberg <daniel@haxx.se>
Wed, 29 Sep 2021 10:57:03 +0000 (12:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 30 Sep 2021 07:15:34 +0000 (09:15 +0200)
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

docs/cmdline-opts/gen.pl

index eb9b3284929680fd35dd8d3b931d0d309b4c3bc5..405099b710902a33cac77192e8b705831e09fce4 100755 (executable)
@@ -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");