Merge remote-tracking branch 'origin/main' into add_time_helpers
This commit is contained in:
commit
5c6c016e13
@ -14,11 +14,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
from `chrono::DateTime<Utc>` and a generic UNIX timestamp (`i64` seconds
|
||||
and subsecond milliseconds).
|
||||
|
||||
# [v0.4.1] 14.01.2023
|
||||
|
||||
## Fixed
|
||||
|
||||
- CDS timestamp: The conversion function from the current time were buggy
|
||||
when specifying picoseconds precision, which could lead to overflow
|
||||
multiplications and incorrect precision fields.
|
||||
multiplications and/or incorrect precision fields.
|
||||
|
||||
# [v0.4.0] 10.01.2023
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "spacepackets"
|
||||
version = "0.4.0"
|
||||
version = "0.5.0-rc.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.60"
|
||||
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
||||
|
@ -313,9 +313,7 @@ impl ConversionFromNow {
|
||||
));
|
||||
}
|
||||
SubmillisPrecision::Picoseconds(_) => {
|
||||
prec = Some(SubmillisPrecision::Picoseconds(
|
||||
(now.subsec_nanos() * 1000),
|
||||
));
|
||||
prec = Some(SubmillisPrecision::Picoseconds(now.subsec_nanos() * 1000));
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user