Fix qiniu last modify time. (#691)

This commit is contained in:
Breeze Chen
2021-01-06 17:01:24 +08:00
committed by GitHub
parent f35ad3fe0a
commit 488e62f762

View File

@ -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),
})
}