diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-09-29 12:57:03 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-09-30 09:15:34 +0200 |
commit | 0b2260b03649f1518e6da5adce287526dd75d23f (patch) | |
tree | 51677ca40fd9d939ad37c790addfae0f17372ff3 /docs/cmdline-opts | |
parent | f8707151141e5f0038134ef6d757e1c5a624cdc1 (diff) | |
download | curl-0b2260b03649f1518e6da5adce287526dd75d23f.tar.gz |
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
Diffstat (limited to 'docs/cmdline-opts')
-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"); |