From ada3b5270849fca96513c963e6a1bf4ca018d957 Mon Sep 17 00:00:00 2001 From: lentil32 Date: Sun, 8 Sep 2024 15:06:42 +0900 Subject: [PATCH] cli/command: fix docstring for ContainerFormat.CreatedAt --- cli/command/formatter/container.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/command/formatter/container.go b/cli/command/formatter/container.go index 203e437c6997..8dd153c974f0 100644 --- a/cli/command/formatter/container.go +++ b/cli/command/formatter/container.go @@ -193,7 +193,8 @@ func (c *ContainerContext) Command() string { return strconv.Quote(command) } -// CreatedAt returns the "Created" date/time of the container as a unix timestamp. +// CreatedAt returns the formatted string representing the container's creation date/time. +// e.g. "2006-01-02 15:04:05.999999999 -0700 MST" func (c *ContainerContext) CreatedAt() string { return time.Unix(c.c.Created, 0).String() }