meshstats: show absolute timestamp

This commit is contained in:
Nils Schneider 2015-03-25 21:15:06 +01:00
parent 5b352d7a32
commit 64c9e42eb4

View file

@ -17,7 +17,7 @@ define(function () {
totalGateways + " Gateways"
p.appendChild(document.createElement("br"))
p.appendChild(document.createTextNode("Diese Daten sind " + moment.utc(nodes.timestamp).fromNow(true) + " alt."))
p.appendChild(document.createTextNode("Diese Daten von " + moment(nodes.timestamp).format("LLLL") + "."))
}
self.render = function (el) {