-
- Downloads
Fix panic in DateTime::from_secs_f64 (#3806)
## Motivation and Context - #3805 ## Description Recover from floating point values extremely close to whole numbers by incrementing the epoch seconds value. ## Testing - proptest ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] 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. - [x] 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._
Showing
- .changelog/1724779868.md 9 additions, 0 deletions.changelog/1724779868.md
- aws/rust-runtime/Cargo.lock 1 addition, 1 deletionaws/rust-runtime/Cargo.lock
- rust-runtime/aws-smithy-types/Cargo.toml 1 addition, 1 deletionrust-runtime/aws-smithy-types/Cargo.toml
- rust-runtime/aws-smithy-types/src/date_time/mod.rs 29 additions, 2 deletionsrust-runtime/aws-smithy-types/src/date_time/mod.rs
Loading
Please register or sign in to comment