Fix: show modified date instead of creating date in file list
This commit is contained in:
parent
febbd0c5a0
commit
478d390867
1 changed files with 2 additions and 2 deletions
|
@ -340,7 +340,7 @@ func (fs *FileSystem) listObjects(ctx context.Context, parent string, files []mo
|
|||
Pic: "",
|
||||
Size: 0,
|
||||
Type: "dir",
|
||||
Date: subFolder.CreatedAt,
|
||||
Date: subFolder.UpdatedAt,
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -361,7 +361,7 @@ func (fs *FileSystem) listObjects(ctx context.Context, parent string, files []mo
|
|||
Pic: file.PicInfo,
|
||||
Size: file.Size,
|
||||
Type: "file",
|
||||
Date: file.CreatedAt,
|
||||
Date: file.UpdatedAt,
|
||||
SourceEnabled: file.GetPolicy().IsOriginLinkEnable,
|
||||
}
|
||||
if shareKey != "" {
|
||||
|
|
Loading…
Add table
Reference in a new issue