fixup! format datetime in locale format

This commit is contained in:
lilydjwg 2022-01-24 17:22:19 +08:00
parent 1c984070d5
commit 3a9c2b3b71

View file

@ -98,7 +98,11 @@
title: "打包时间",
data: "ts",
render: function (data, type, row, meta) {
return DATE_FORMATTER.format(new Date(data * 1000))
if(type == 'display') {
return DATE_FORMATTER.format(new Date(data * 1000))
} else {
return data
}
}
},
{