|
|
|
@@ -268,9 +268,6 @@ func CloudBrainModelConvertList(ctx *context.APIContext) { |
|
|
|
|
|
|
|
for i, fileInfo := range fileInfos { |
|
|
|
temp, _ := time.Parse("2006-01-02 15:04:05", fileInfo.ModTime) |
|
|
|
if fileInfos[i].FileName == fileInfos[i].ParenDir { |
|
|
|
fileInfos[i].ParenDir = "" |
|
|
|
} |
|
|
|
fileInfos[i].ModTime = temp.Local().Format("2006-01-02 15:04:05") |
|
|
|
} |
|
|
|
|
|
|
|
|