diff --git a/config.md b/config.md index d9b6638db..8c010dcb8 100644 --- a/config.md +++ b/config.md @@ -51,7 +51,7 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a - **created** *string*, OPTIONAL - An ISO-8601 formatted combined date and time at which the image was created. + The date and time at which the image was created, expressed in Internet Date/Time Format ([RFC-3339](https://tools.ietf.org/html/rfc3339#section-5.6)). - **author** *string*, OPTIONAL @@ -161,7 +161,7 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a - **created** *string*, OPTIONAL - Creation time, expressed as an ISO-8601 formatted combined date and time. + Creation time, expressed in Internet Date/Time Format ([RFC-3339](https://tools.ietf.org/html/rfc3339#section-5.6)). - **author** *string*, OPTIONAL diff --git a/specs-go/v1/config.go b/specs-go/v1/config.go index d42383622..278eb9bb9 100644 --- a/specs-go/v1/config.go +++ b/specs-go/v1/config.go @@ -76,7 +76,7 @@ type History struct { // Image is the JSON structure which describes some basic information about the image. type Image struct { - // Created defines an ISO-8601 formatted combined date and time at which the image was created. + // Created defines an RFC-3339 formatted combined date and time at which the image was created. Created string `json:"created,omitempty"` // Author defines the name and/or email address of the person or entity which created and is responsible for maintaining the image.