Set time by ended or added correctly
This commit is contained in:
@@ -110,7 +110,7 @@ func handleListFiles(w http.ResponseWriter, requestPath string, t *torrent.Torre
|
||||
if file == nil || !strings.HasPrefix(file.Link, "http") {
|
||||
continue
|
||||
}
|
||||
fmt.Fprint(w, dav.File(filepath.Join(requestPath, filename), file.Bytes, tor.LatestAdded))
|
||||
fmt.Fprint(w, dav.File(filepath.Join(requestPath, filename), file.Bytes, file.Ended))
|
||||
}
|
||||
|
||||
fmt.Fprint(w, "</d:multistatus>")
|
||||
|
||||
Reference in New Issue
Block a user