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

Fix panic in DateTime::from_secs_f64 #3806

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Fix panic in DateTime::from_secs_f64 #3806

merged 1 commit into from
Aug 29, 2024

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Aug 27, 2024

Motivation and Context

Description

Recover from floating point values extremely close to whole numbers by incrementing the epoch seconds value.

Testing

  • proptest

Checklist

  • For changes to the smithy-rs codegen or runtime crates, I have created a changelog entry Markdown file in the .changelog directory, specifying "client," "server," or both in the applies_to key.
  • For changes to the AWS SDK, generated SDK code, or SDK runtime crates, I have created a changelog entry Markdown file in the .changelog directory, specifying "aws-sdk-rust" in the applies_to key.

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

@rcoh rcoh requested review from a team as code owners August 27, 2024 17:38
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@rcoh rcoh added this pull request to the merge queue Aug 29, 2024
Merged via the queue into main with commit b38ccb9 Aug 29, 2024
44 checks passed
@rcoh rcoh deleted the fix-timestamp-from-f64 branch August 29, 2024 16:09
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.

5 participants