Skip to content
Unverified Commit 384f2aed authored by Fahad Zubair's avatar Fahad Zubair Committed by GitHub
Browse files

Only support T as an allowed separator in RFC-3339 dates (#3934)

This PR modifies `aws-smithy-types::DateTime` to enforce the use of 'T'
(or 't') as the date-time separator. A [recent
merge](https://github.com/time-rs/time/pull/700/files#diff-78a73b9911c88961601784e674a20c89e7050de9f8763522bbaa88ed28311b51R524

)
in the 'time' crate introduced support for space characters as
separators. While ISO 8601 does allow spaces, RFC 3339 strictly requires
'T' (or 't') as the separator.

This change restores the behavior to match how it was before `time =
0.3.37`.

This PR also removes the temporary pinning of the time crate in protocol
tests.

Co-authored-by: default avatarFahad Zubair <fahadzub@amazon.com>
parent 801054d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment