mirror of https://github.com/Xhofe/alist
fix(google_drive): incorrect `ModifiedTime` (close #2002)
parent
549355bb29
commit
7a95850c1b
|
@ -33,7 +33,7 @@ func fileToObj(f File) *model.ObjThumb {
|
|||
ID: f.Id,
|
||||
Name: f.Name,
|
||||
Size: size,
|
||||
Modified: time.Time{},
|
||||
Modified: f.ModifiedTime,
|
||||
IsFolder: f.MimeType == "application/vnd.google-apps.folder",
|
||||
},
|
||||
Thumbnail: model.Thumbnail{},
|
||||
|
|
Loading…
Reference in New Issue