From 87bbafc0c0c17511db540a4d456b699eb47e3c21 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 16 Nov 2015 22:41:20 +0900 Subject: [PATCH] directory should have mod-time --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 585f730..36f7b2d 100644 --- a/client.go +++ b/client.go @@ -90,7 +90,7 @@ func (c *Client) ReadDir(path string) ([]os.FileInfo, error) { if p.Type.Local == "collection" { f.path += "/" f.size = 0 - f.modified = time.Unix(0, 0) + f.modified = parseModified(&p.Modified) f.isdir = true } else { f.size = parseInt64(&p.Size)