properly formatting unix timestamps

This commit is contained in:
Chelsea Holland Komlo
2018-03-23 14:41:56 -04:00
parent 5b1f2e7acd
commit 6e35eec31e

View File

@@ -429,7 +429,7 @@ func (c *NodeStatusCommand) outputNodeEvent(events []*api.NodeEvent) {
}
for i, event := range events {
timestamp := formatUnixNanoTime(event.Timestamp)
timestamp := formatTime(time.Unix(event.Timestamp, 0))
subsystem := event.Subsystem
msg := event.Message
if c.verbose {