gen.pl: make the output date format work better

Follow-up to 15910dfd14

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
This commit is contained in:
Daniel Stenberg 2021-09-29 12:57:03 +02:00
parent f870715114
commit 0b2260b036
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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");