From 32b919dca7722606fad3711f117890dec0f89dd4 Mon Sep 17 00:00:00 2001 From: Moorviper Date: Thu, 25 Feb 2016 15:01:14 +0100 Subject: [PATCH] INFOBOX - Show Offline since in Sidebar Shows the date and time since the node is offline --- lib/infobox/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/infobox/node.js b/lib/infobox/node.js index b1af9a9..508bb26 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -39,7 +39,7 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"], function showStatus(d) { return function (el) { el.classList.add(d.flags.online ? "online" : "offline") - el.textContent = d.flags.online ? "online" : "offline, " + d.lastseen.fromNow(true) + el.textContent = d.flags.online ? "online" : "offline, " + d.lastseen.fromNow(true) + " " + d.lastseen.format("(DD.MM.YYYY, H:mm:ss)") } }