Another CDS timestamp bugfix #8

Merged
muellerr merged 3 commits from another_logic_fix_cds_stamp into main 2023-01-14 17:50:24 +01:00
Showing only changes of commit ef5a4e2924 - Show all commits

View File

@ -170,7 +170,9 @@ impl ConversionFromNow {
));
}
SubmillisPrecision::Picoseconds(_) => {
prec = Some(SubmillisPrecision::Picoseconds((now.subsec_nanos() % 10_u32.pow(6)) * 1000));
prec = Some(SubmillisPrecision::Picoseconds(
(now.subsec_nanos() % 10_u32.pow(6)) * 1000,
));
}
_ => (),
}