Fix qiniu last modify time.

pull/691/head
Breeze Chen 5 years ago committed by GitHub
parent 61e6d9b591
commit f25e1ce2c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,7 +92,7 @@ func (handler Driver) List(ctx context.Context, base string, recursive bool) ([]
RelativePath: filepath.ToSlash(rel), RelativePath: filepath.ToSlash(rel),
Size: uint64(object.Fsize), Size: uint64(object.Fsize),
IsDir: false, IsDir: false,
LastModify: time.Now(), LastModify: time.Unix(object.PutTime/10000000, 0),
}) })
} }

Loading…
Cancel
Save