修复导出备份时资产创建时间格式不正确的问题 close #205
This commit is contained in:
@ -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