mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 09:30:27 +00:00
Display history date/time using local timezone
This commit is contained in:
parent
34d8e7392c
commit
be7e012faf
@ -68,7 +68,15 @@
|
|||||||
"searching" : true,
|
"searching" : true,
|
||||||
"ordering" : true,
|
"ordering" : true,
|
||||||
"info" : true,
|
"info" : true,
|
||||||
"autoWidth" : false
|
"autoWidth" : false,
|
||||||
|
"columnDefs": [
|
||||||
|
{
|
||||||
|
"render": function ( data, type, row ) {
|
||||||
|
return moment.utc(data).local().format('YYYY-MM-DD HH:mm:ss');
|
||||||
|
},
|
||||||
|
"targets": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
});
|
});
|
||||||
$(document.body).on('click', '.history-info-button', function() {
|
$(document.body).on('click', '.history-info-button', function() {
|
||||||
var modal = $("#modal_history_info");
|
var modal = $("#modal_history_info");
|
||||||
|
Loading…
Reference in New Issue
Block a user