aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-info-box.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js/nms-info-box.js')
-rw-r--r--web/js/nms-info-box.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/js/nms-info-box.js b/web/js/nms-info-box.js
index 772f711..cd5594e 100644
--- a/web/js/nms-info-box.js
+++ b/web/js/nms-info-box.js
@@ -837,7 +837,8 @@ var switchCommentsPanel = function () {
tr.className =
td1 = tr.insertCell(0);
td2 = tr.insertCell(1);
- td1.textContent = logs[v]['timestamp'];
+ var date = new Date(logs[v]['timestamp']);
+ td1.textContent = date.toString();
td2.textContent = "[" + logs[v]['username'] + "] " + logs[v]['log'];
}
domObj.appendChild(table);