Skip to content

Commit bdce1ef

Browse files
committed
Fix querylog
Signed-off-by: yubiuser <[email protected]>
1 parent 0b90545 commit bdce1ef

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

scripts/js/queries.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,15 +386,14 @@ function formatInfo(data) {
386386
'<div class="row">' +
387387
divStart +
388388
"Query received on:&nbsp;&nbsp;" +
389-
luxon.DateTime.fromMillis(data.time * 1000).toFormat("yyyy-MM-dd HH:mm:ss.SSS z") +
389+
luxon.DateTime.fromMillis(data.time * 1000).toFormat("yyyy-MM-dd HH:mm:ss.SSS ZZZZ") +
390390
"</div>" +
391391
clientInfo +
392392
dnssecInfo +
393393
edeInfo +
394394
statusInfo +
395395
cnameInfo +
396396
listInfo +
397-
ttlInfo +
398397
replyInfo +
399398
dbInfo +
400399
"</div>"
@@ -546,7 +545,7 @@ $(() => {
546545
render(data, type) {
547546
if (type === "display") {
548547
return luxon.DateTime.fromMillis(data * 1000).toFormat(
549-
"yyyy-MM-dd [<br class='hidden-lg'>]HH:mm:ss z"
548+
"yyyy-MM-dd <br class='hidden-lg'>HH:mm:ss"
550549
);
551550
}
552551

scripts/js/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function datetime(date, html, humanReadable) {
153153
}
154154

155155
const format =
156-
html === false ? "y-MM-dd TTT" : "y-MM-dd[<br class='hidden-lg'>] TTT";
156+
html === false ? "y-MM-dd TTT" : "y-MM-dd<br class='hidden-lg'> TTT";
157157
const timestr = luxon.DateTime.fromMillis(Math.floor(date)).toFormat(format).trim();
158158
return humanReadable
159159
? '<span title="' +

0 commit comments

Comments
 (0)