diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index 7258e02..0f806df 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -162,7 +162,15 @@ "searching" : false, "ordering" : false, "info" : false, - "autoWidth" : false + "autoWidth" : false, + "columnDefs": [ + { + "render": function ( data, type, row ) { + return moment.utc(data).local().format('YYYY-MM-DD HH:mm:ss'); + }, + "targets": 2 + } + ] }); // set up domain list $("#tbl_domain_list").DataTable({