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
1 changed files with 1 additions and 1 deletions

View File

@ -918,7 +918,7 @@ sub _format_for_list
$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";
}