From eee431ff259f3a27f794f7547acf300cc5dde68c Mon Sep 17 00:00:00 2001 From: Peter Wilhelm Date: Sun, 7 Jan 2024 18:15:35 -0600 Subject: [PATCH] Use RFC3339Nano to better align to Docker standard --- internal/actions/mocks/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/actions/mocks/container.go b/internal/actions/mocks/container.go index 86f99b5..bdac6e6 100644 --- a/internal/actions/mocks/container.go +++ b/internal/actions/mocks/container.go @@ -82,7 +82,7 @@ func CreateMockContainerWithDigest(id string, name string, image string, created // CreateMockContainerWithDigest should only be used for testing func CreateMockContainerWithImageCreatedTime(id string, name string, image string, created time.Time, imageCreated time.Time) wt.Container { c := CreateMockContainer(id, name, image, created) - c.ImageInfo().Created = imageCreated.UTC().Format(time.RFC3339) + c.ImageInfo().Created = imageCreated.UTC().Format(time.RFC3339Nano) return c }