mirror of
https://github.com/BioArchLinux/bioarchlinux-packages.git
synced 2025-03-10 06:24:00 +00:00
fixup! format datetime in locale format
This commit is contained in:
parent
1c984070d5
commit
3a9c2b3b71
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue