New date formats for non standard dates returned by LIST (#354)

This commit is contained in:
Jean-Luc Lacroix
2024-01-11 20:31:46 +01:00
committed by GitHub
parent 824fdbc882
commit a93533d16c
2 changed files with 5 additions and 1 deletions

View File

@@ -24,6 +24,8 @@ var listLineParsers = []parseFunc{
var dirTimeFormats = []string{
"01-02-06 03:04PM",
"2006-01-02 15:04",
"01-02-2006 03:04PM",
"01-02-2006 15:04",
}
// parseRFC3659ListLine parses the style of directory line defined in RFC 3659.