From 0b2260b03649f1518e6da5adce287526dd75d23f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 29 Sep 2021 12:57:03 +0200 Subject: 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 --- docs/cmdline-opts/gen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl index eb9b32849..405099b71 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"); -- cgit v1.2.1