bugfix for patch version #7
@ -8,6 +8,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
# [unreleased]
|
||||
|
||||
# [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/or incorrect precision fields.
|
||||
|
||||
# [v0.4.0] 10.01.2023
|
||||
|
||||
## Fixed
|
||||
|
@ -170,8 +170,8 @@ impl ConversionFromNow {
|
||||
));
|
||||
}
|
||||
SubmillisPrecision::Picoseconds(_) => {
|
||||
prec = Some(SubmillisPrecision::Microseconds(
|
||||
(now.subsec_nanos() * 1000) as u16,
|
||||
prec = Some(SubmillisPrecision::Picoseconds(
|
||||
now.subsec_nanos() * 1000
|
||||
));
|
||||
}
|
||||
_ => (),
|
||||
|
Loading…
Reference in New Issue
Block a user