mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
Display history date/time using local timezone
This commit is contained in:
parent
d466a5dd3e
commit
34d8e7392c
@ -162,7 +162,15 @@
|
|||||||
"searching" : false,
|
"searching" : false,
|
||||||
"ordering" : false,
|
"ordering" : false,
|
||||||
"info" : 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
|
// set up domain list
|
||||||
$("#tbl_domain_list").DataTable({
|
$("#tbl_domain_list").DataTable({
|
||||||
|
Loading…
Reference in New Issue
Block a user