Merge pull request #1618 from itxiaobaishu/feature/my_modify
safari浏览器显示Invalid Date问题
This commit is contained in:
commit
5a1fa6dcca
|
@ -116,7 +116,7 @@ $(function() {
|
||||||
"data": 'triggerTime',
|
"data": 'triggerTime',
|
||||||
"width":'20%',
|
"width":'20%',
|
||||||
"render": function ( data, type, row ) {
|
"render": function ( data, type, row ) {
|
||||||
return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):"";
|
return data?moment(data).format("YYYY-MM-DD HH:mm:ss"):"";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -145,7 +145,7 @@ $(function() {
|
||||||
"data": 'handleTime',
|
"data": 'handleTime',
|
||||||
"width":'20%',
|
"width":'20%',
|
||||||
"render": function ( data, type, row ) {
|
"render": function ( data, type, row ) {
|
||||||
return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):"";
|
return data?moment(data).format("YYYY-MM-DD HH:mm:ss"):"";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue