From 6e35eec31ea2a841eb36f0a94aaa6d9c7b4e04e9 Mon Sep 17 00:00:00 2001 From: Chelsea Holland Komlo Date: Fri, 23 Mar 2018 14:41:56 -0400 Subject: [PATCH] properly formatting unix timestamps --- command/node_status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/node_status.go b/command/node_status.go index b80411434..e3bb9baeb 100644 --- a/command/node_status.go +++ b/command/node_status.go @@ -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 {