Ver código fonte

meshstats: show absolute timestamp

Nils Schneider 9 anos atrás
pai
commit
64c9e42eb4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/meshstats.js

+ 1 - 1
lib/meshstats.js

@@ -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) {