Adjustment to have History sorts by oldest first. Fix #245

This commit is contained in:
Khanh Ngo 2018-04-18 12:11:00 +07:00
parent 45b8c0c12b
commit bd45c4ef87

View File

@ -69,8 +69,10 @@
"ordering" : true,
"info" : true,
"autoWidth" : false,
"order": [[ 2, "desc" ]],
"columnDefs": [
{
"type": "time",
"render": function ( data, type, row ) {
return moment.utc(data).local().format('YYYY-MM-DD HH:mm:ss');
},