From e3b763ed6db45fa6a6cc64f3d64584b6628fad21 Mon Sep 17 00:00:00 2001 From: Jean-Luc Lacroix Date: Fri, 1 Dec 2023 10:56:57 +0100 Subject: [PATCH] Update parse.go New time formats for non standard date returned by LIST --- parse.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parse.go b/parse.go index 2decf1e..a4af062 100644 --- a/parse.go +++ b/parse.go @@ -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.