From 4067f3a4d6500e3a1ab16afbfeaed20f2b349fed Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 12 Feb 2021 12:08:31 -0600 Subject: change ps Created to unix change from unixnano to unix for ps created --format json [NO TESTS NEEDED] Signed-off-by: baude --- cmd/podman/containers/ps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/podman/containers/ps.go b/cmd/podman/containers/ps.go index bfb821159..51e7bf5b5 100644 --- a/cmd/podman/containers/ps.go +++ b/cmd/podman/containers/ps.go @@ -152,7 +152,7 @@ func jsonOut(responses []entities.ListContainer) error { con.Status = psReporter{con}.Status() jf := jsonFormat{ ListContainer: con, - Created: con.Created.UnixNano(), + Created: con.Created.Unix(), } r = append(r, jf) } -- cgit v1.2.3-54-g00ecf