Merge pull request #1618 from itxiaobaishu/feature/my_modify

safari浏览器显示Invalid Date问题
pull/22/MERGE
许雪里 4 years ago committed by GitHub
commit 5a1fa6dcca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -116,7 +116,7 @@ $(function() {
"data": 'triggerTime',
"width":'20%',
"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',
"width":'20%',
"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…
Cancel
Save