Skip to content

Commit 32b111f

Browse files
authored
Clarify handling of date-time offsets (#1597)
1 parent eb37532 commit 32b111f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/source-1.0/spec/core/protocol-traits.rst

+2
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ Smithy defines the following built-in timestamp formats:
305305
`RFC3339 section 5.6 <https://www.rfc-editor.org/rfc/rfc3339#section-5.6>`_
306306
with no UTC offset and optional fractional precision (for example,
307307
``1985-04-12T23:20:50.52Z``).
308+
*However*, offsets are parsed gracefully, but the datetime is normalized
309+
to an offset of zero by converting to UTC.
308310
* - http-date
309311
- An HTTP date as defined by the ``IMF-fixdate`` production in
310312
:rfc:`7231#section-7.1.1.1` (for example,

docs/source-2.0/spec/protocol-traits.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ Smithy defines the following built-in timestamp formats:
221221
:rfc:`3339#section-5.6`
222222
with no UTC offset and optional fractional precision (for example,
223223
``1985-04-12T23:20:50.52Z``).
224-
*However*, offsets will still be parsed gracefully, but the datetime
225-
will be normalized to an offset of zero (i.e. converted to UTC)
224+
*However*, offsets are parsed gracefully, but the datetime is normalized
225+
to an offset of zero by converting to UTC.
226226
* - http-date
227227
- An HTTP date as defined by the ``IMF-fixdate`` production in
228228
:rfc:`7231#section-7.1.1.1` (for example,

0 commit comments

Comments
 (0)