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

Add timestamp format enum #248

Merged
merged 2 commits into from
May 23, 2024
Merged

Add timestamp format enum #248

merged 2 commits into from
May 23, 2024

Conversation

JordonPhillips
Copy link
Contributor

This adds a TimestampFormat enum that has helper methods on it for serialization and deserialization.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This adds a `TimestampFormat` enum that provides helper methods
for serializaing and deserializing for each format.
@JordonPhillips JordonPhillips requested a review from a team as a code owner May 21, 2024 12:39
Comment on lines 70 to 71
"""An HTTP date as defined by the IMF-fixdate production in RFC 7231 section
7.1.1.1."""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be using the latest standard here (RFC 9110 5.6.7) or is there a notable difference in the older RFC we use?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there's any difference, but I can update the reference here and in the smithy docs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JordonPhillips JordonPhillips merged commit 85a0fa2 into develop May 23, 2024
5 checks passed
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.

2 participants