diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-09-29 12:57:03 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-09-29 12:57:03 +0200 |
commit | 740d04965d5504b8575f710a610e31757dca18b4 (patch) | |
tree | 69bc3880574c3d1a733cd652d9a1208b7851867c | |
parent | 180180a44d8e7a54b772af02eb90e0eab1c61d37 (diff) | |
download | curl-bagder/gen-date-format.tar.gz |
gen.pl: make the output date format work betterbagder/gen-date-format
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
-rwxr-xr-x | docs/cmdline-opts/gen.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |