From 0743befe30f1f5bd377331d6f7e8ae592c554b54 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 22 Mar 2015 21:49:45 +0100 Subject: [PATCH] timestamp --- history.html | 3 +++ history.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/history.html b/history.html index 9b605c5..8091097 100644 --- a/history.html +++ b/history.html @@ -281,6 +281,9 @@

+

+

+

Neue Knoten

diff --git a/history.js b/history.js index f048589..1e8cbc8 100644 --- a/history.js +++ b/history.js @@ -170,6 +170,9 @@ function handle_data(config, map) { showMeshstats(document.getElementById("meshstats"), nodes) + var timestamp = document.getElementById("timestamp") + timestamp.textContent = "Diese Daten sind " + moment.utc(nodes.timestamp).fromNow(true) + " alt." + var historyDict = { nodes: {}, links: {} } nodes.forEach( function (d) {