1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

tests/FTPServer.pm: Fix ftp tests for Windows

The Single Unix strftime format specifier %e is not supported by
MS Windows. Instead we now use %d.

Reported-By: Eli Zaretskii <eliz@gnu.org>
This commit is contained in:
Tim Ruehsen 2014-12-21 18:12:17 +01:00
parent cfe7589397
commit 9ee2fdd50d

View File

@ -918,7 +918,7 @@ sub _format_for_list
$size = 0; $size = 0;
} }
} }
my $date = strftime("%b %e %H:%M", localtime); my $date = strftime("%b %d %H:%M", localtime);
return "$mode_str 1 0 0 $size $date $name"; return "$mode_str 1 0 0 $size $date $name";
} }