mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 09:32:29 +08:00
koofr: ensure folders show the modtime configured by --default-time #6986
This commit is contained in:
parent
d379641021
commit
f7b87a8049
|
@ -376,7 +376,7 @@ func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err e
|
|||
for i, file := range files {
|
||||
remote := path.Join(dir, f.opt.Enc.ToStandardName(file.Name))
|
||||
if file.Type == "dir" {
|
||||
entries[i] = fs.NewDir(remote, time.Unix(0, 0))
|
||||
entries[i] = fs.NewDir(remote, time.Time{})
|
||||
} else {
|
||||
entries[i] = &Object{
|
||||
fs: f,
|
||||
|
|
Loading…
Reference in New Issue
Block a user