Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
An combined date and time at which the image was created, formatted as defined by [RFC 3339, section 5.6][rfc3339-s5.6].

- **author** *string*, OPTIONAL

Expand Down Expand Up @@ -146,7 +146,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.
A combined date and time at which the layer was created, formatted as defined by [RFC 3339, section 5.6][rfc3339-s5.6].

- **author** *string*, OPTIONAL

Expand Down Expand Up @@ -228,4 +228,5 @@ Here is an example image configuration JSON document:
}
```

[rfc3339-s5.6]: https://tools.ietf.org/html/rfc3339#section-5.6
[runtime-platform]: https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc2/config.md#platform
2 changes: 1 addition & 1 deletion specs-go/v1/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ type History struct {
// Image is the JSON structure which describes some basic information about the image.
// This provides the `application/vnd.oci.image.config.v1+json` mediatype when marshalled to JSON.
type Image struct {
// Created defines an ISO-8601 formatted combined date and time at which the image was created.
// Created is the combined date and time at which the image was created, formatted as defined by RFC 3339, section 5.6.
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.
Expand Down