diff --git a/src/main/resources/web/js/models/hostmodel.js b/src/main/resources/web/js/models/hostmodel.js index 5d86d362240bb3516920f25e58328a0ecba49690..ec37d1573c043dd9f61cbdb159696da2e7c49774 100644 --- a/src/main/resources/web/js/models/hostmodel.js +++ b/src/main/resources/web/js/models/hostmodel.js @@ -47,6 +47,7 @@ window.HostCollection = Backbone.Collection.extend({ h.swport = _.reduce(h['attachmentPoint'], function(memo, ap) { return memo + ap.switchDPID + "-" + ap.port + " "}, ""); //console.log(h.swport); + h.lastSeen = new Date(h.lastSeen).toLocaleString(); self.add(h, {silent: true}); } });