mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-11-02 20:14:02 +08:00
Fix qiniu last modify time. (#691)
This commit is contained in:
@ -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),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user