Merge pull request #11706 from HuKeping/time

Fix inconsistent date formats in API
This commit is contained in:
Sebastiaan van Stijn
2015-05-13 20:23:19 -07:00
10 changed files with 135 additions and 22 deletions
+1 -1
View File
@@ -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{}