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:Fahad Zubair <fahadzub@amazon.com>
Loading
Please register or sign in to comment