修复导出备份时资产创建时间格式不正确的问题 close #205
This commit is contained in:
1 parent
a3d2d4acc5
commit
18bf4d4b80
1 file changed
+1
@@ -109,6 +109,7 @@ func BackupExportEndpoint(c echo.Context) error {
|
|||||||
for key := range attributeMap {
|
for key := range attributeMap {
|
||||||
itemMap[key] = attributeMap[key]
|
itemMap[key] = attributeMap[key]
|
||||||
}
|
}
|
||||||
|
itemMap["created"] = asset.Created.Format("2006-01-02 15:04:05")
|
||||||
assetMaps = append(assetMaps, itemMap)
|
assetMaps = append(assetMaps, itemMap)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user