-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Thane Thomson <connect@thanethomson.com>
- Loading branch information
Showing
4 changed files
with
7 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
- Remove dependencies on the `chrono` crate. | ||
([#1030](https://github.com/informalsystems/tendermint-rs/issues/1030)) | ||
- `[tendermint]` Improve `tendermint::Time` | ||
([#1030](https://github.com/informalsystems/tendermint-rs/issues/1030)): | ||
([#1036](https://github.com/informalsystems/tendermint-rs/issues/1036), | ||
revised by [#1048](https://github.com/informalsystems/tendermint-rs/pull/1048)): | ||
* Restrict the validity range of `Time` to dates with years in the range | ||
1-9999, to match the specification of protobuf message `Timestamp`. | ||
Add an `ErrorDetail` variant `DateOutOfRange` to report when this | ||
restriction is not met. | ||
* Added a conversion to, and a fallible conversion from, | ||
`OffsetDateTime` of the `time` crate. | ||
* Added `Time` methods `checked_add` and `checked_sub`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters