mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 15:28:35 +00:00
Merge pull request #11706 from HuKeping/time
Fix inconsistent date formats in API
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@ func (daemon *Daemon) Containers(config *ContainersConfig) ([]*types.Container,
|
||||
} else {
|
||||
newC.Command = fmt.Sprintf("%s", container.Path)
|
||||
}
|
||||
newC.Created = int(container.Created.Unix())
|
||||
newC.Created = container.Created.UTC()
|
||||
newC.Status = container.State.String()
|
||||
|
||||
newC.Ports = []types.Port{}
|
||||
|
||||
Reference in New Issue
Block a user