Closed EtomicBomb closed 3 years ago
And now that I'm looking at that part of the code, From<time::Duration> for Timestamp
looks incorrect too - I think in the line
Timestamp::new(duration.as_secs() as time_t, duration.as_micros() as time_t)
duration.as_micros()
should be duration.subsec_micros()
I know this should be a pull request but in
ts.usec
should be multiplied by 1000 and not divided