|
@@ -50,8 +50,8 @@ function (config, moment, chroma, Router, Map, Sidebar, Tabs, Container, Meshsta
|
|
|
})
|
|
|
|
|
|
nodes.forEach( function(node) {
|
|
|
- node.firstseen = moment.utc(node.firstseen)
|
|
|
- node.lastseen = moment.utc(node.lastseen)
|
|
|
+ node.firstseen = moment.utc(node.firstseen).local()
|
|
|
+ node.lastseen = moment.utc(node.lastseen).local()
|
|
|
})
|
|
|
|
|
|
var now = moment()
|
|
@@ -105,7 +105,7 @@ function (config, moment, chroma, Router, Map, Sidebar, Tabs, Container, Meshsta
|
|
|
})
|
|
|
|
|
|
return { now: now,
|
|
|
- timestamp: data[0].timestamp,
|
|
|
+ timestamp: moment.utc(data[0].timestamp).local(),
|
|
|
nodes: {
|
|
|
all: nodes,
|
|
|
new: newnodes,
|