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

Only support T as an allowed separator in RFC-3339 dates #3931

Closed
wants to merge 2 commits into from

Conversation

drganjoo
Copy link
Contributor

@drganjoo drganjoo commented Dec 4, 2024

This PR modifies aws-smithy-types::DateTime to enforce the use of 'T' as the date-time separator. A recent merge in the 'time' crate introduced support for space characters as separators. While ISO 8601 does allow spaces, RFC 3339 strictly requires 'T' as the separator.

This change ensures our implementation adheres to the RFC 3339 standard, maintaining consistency and interoperability across protocols that rely on this stricter format.

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

Copy link

github-actions bot commented Dec 4, 2024

A new generated diff is ready to view.

A new doc preview is ready to view.

Copy link

github-actions bot commented Dec 4, 2024

A new generated diff is ready to view.

A new doc preview is ready to view.

@drganjoo drganjoo closed this Dec 4, 2024
@drganjoo drganjoo deleted the fahadzub/date-time-fix branch December 4, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant