You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// CreatedAt returns the "Created" date/time of the container as a unix timestamp.
func (c*ContainerContext) CreatedAt() string {
returntime.Unix(c.c.Created, 0).String()
}
time.Unix().String() will not create a unix timestamp (number), but instead will create an string as explained in the documentation: https://golang.org/pkg/time/#Time.String .
Maybe add another variant, eg CreatedAtTimestamp to support this option nonetheless.
The text was updated successfully, but these errors were encountered:
cli/cli/command/formatter/container.go
Lines 179 to 182 in 389fa74
time.Unix().String() will not create a unix timestamp (number), but instead will create an string as explained in the documentation: https://golang.org/pkg/time/#Time.String .
Maybe add another variant, eg CreatedAtTimestamp to support this option nonetheless.
The text was updated successfully, but these errors were encountered: