mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
Fix date formating in 'created' col
This commit is contained in:
@@ -187,7 +187,7 @@ func (cm *Docker) refresh(c *container.Container) {
|
|||||||
if webPort != "" {
|
if webPort != "" {
|
||||||
c.SetMeta("Web Port", webPort)
|
c.SetMeta("Web Port", webPort)
|
||||||
}
|
}
|
||||||
c.SetMeta("created", insp.Created.Format("Mon Jan 2 15:04:05 2006"))
|
c.SetMeta("created", insp.Created.Format("Mon Jan 02 15:04:05 2006"))
|
||||||
c.SetMeta("uptime", calcUptime(insp))
|
c.SetMeta("uptime", calcUptime(insp))
|
||||||
c.SetMeta("health", insp.State.Health.Status)
|
c.SetMeta("health", insp.State.Health.Status)
|
||||||
c.SetMeta("[ENV-VAR]", strings.Join(insp.Config.Env, ";"))
|
c.SetMeta("[ENV-VAR]", strings.Join(insp.Config.Env, ";"))
|
||||||
|
|||||||
Reference in New Issue
Block a user