From f7bc41dcecd5dc3f3292086870ad578e776fdcfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=C3=A4ssler?= Date: Sat, 5 Mar 2016 11:54:31 +0100 Subject: [PATCH] infobox/node: lastseen proper quantity --- lib/infobox/node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/infobox/node.js b/lib/infobox/node.js index c1f34b3..400749e 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -40,9 +40,9 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"], return function (el) { el.classList.add(d.flags.online ? "online" : "offline") if (d.flags.online) - el.textContent = "online, letzte Nachricht vor " + d.lastseen.fromNow(true) + " (" + d.lastseen.format("DD.MM.YYYY, H:mm:ss") + ")" + el.textContent = "online, letzte Nachricht vor " + d.lastseen.fromNow() + " (" + d.lastseen.format("DD.MM.YYYY, H:mm:ss") + ")" else - el.textContent = "offline, letzte Nachricht vor " + d.lastseen.fromNow(true) + " (" + d.lastseen.format("DD.MM.YYYY, H:mm:ss") + ")" + el.textContent = "offline, letzte Nachricht vor " + d.lastseen.fromNow() + " (" + d.lastseen.format("DD.MM.YYYY, H:mm:ss") + ")" } }