From f25e1ce2c561156eb7557a2d6d0937ec50074580 Mon Sep 17 00:00:00 2001 From: Breeze Chen Date: Thu, 24 Dec 2020 14:37:43 +0800 Subject: [PATCH] Fix qiniu last modify time. --- pkg/filesystem/driver/qiniu/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/filesystem/driver/qiniu/handler.go b/pkg/filesystem/driver/qiniu/handler.go index 4b24cc5..d1b86b8 100644 --- a/pkg/filesystem/driver/qiniu/handler.go +++ b/pkg/filesystem/driver/qiniu/handler.go @@ -92,7 +92,7 @@ func (handler Driver) List(ctx context.Context, base string, recursive bool) ([] RelativePath: filepath.ToSlash(rel), Size: uint64(object.Fsize), IsDir: false, - LastModify: time.Now(), + LastModify: time.Unix(object.PutTime/10000000, 0), }) }