logs.js: using ISO datetime format for query logs.

This commit is contained in:
Shreyas Zare
2022-10-30 19:04:33 +05:30
parent a9c4b70c23
commit 047edb1054

View File

@@ -292,11 +292,11 @@ function queryLogs(pageNumber) {
var start = $("#txtQueryLogStart").val();
if (start != "")
start = moment(start).format("YYYY-MM-DD HH:mm:ss");
start = moment(start).toISOString();
var end = $("#txtQueryLogEnd").val();
if (end != "")
end = moment(end).format("YYYY-MM-DD HH:mm:ss");
end = moment(end).toISOString();
var clientIpAddress = $("#txtQueryLogClientIpAddress").val();
var protocol = $("#optQueryLogsProtocol").val();