Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(doc): Minor rephrase for Timestamp description. #1835

Merged
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
2 changes: 1 addition & 1 deletion docs/source-1.0/spec/core/protocol-traits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Smithy defines the following built-in timestamp formats:
* - date-time
- Date time as defined by the ``date-time`` production in
`RFC3339 section 5.6 <https://www.rfc-editor.org/rfc/rfc3339#section-5.6>`_
with no UTC offset and optional fractional precision (for example,
with optional fractional precision but no UTC offset (for example,
``1985-04-12T23:20:50.52Z``).
*However*, offsets are parsed gracefully, but the datetime is normalized
to an offset of zero by converting to UTC.
Expand Down
4 changes: 2 additions & 2 deletions docs/source-2.0/spec/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -789,8 +789,8 @@ target from traits and how their values are defined in
- number | string
- If a number is provided, it represents Unix epoch seconds with optional
millisecond precision. If a string is provided, it MUST be a valid
:rfc:`3339` string with no UTC offset and optional fractional
precision (for example, ``1985-04-12T23:20:50.52Z``).
:rfc:`3339` string with optional fractional precision but no UTC offset
(for example, ``1985-04-12T23:20:50.52Z``).
* - list
- array
- Each value in the array MUST be compatible with the targeted member.
Expand Down
2 changes: 1 addition & 1 deletion docs/source-2.0/spec/protocol-traits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Smithy defines the following built-in timestamp formats:
* - date-time
- Date time as defined by the ``date-time`` production in
:rfc:`3339#section-5.6`
with no UTC offset and optional fractional precision (for example,
with optional fractional precision but no UTC offset (for example,
``1985-04-12T23:20:50.52Z``).
*However*, offsets are parsed gracefully, but the datetime is normalized
to an offset of zero by converting to UTC.
Expand Down