Fix an off-by-three-orders-of-magnitude error.

v0.7.x
whitequark 2017-07-23 12:03:56 +00:00
parent cf37a34443
commit e381f6ec3f
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ pub fn setup_logging() {
let startup_at = Instant::now();
setup_logging_with_clock(move || {
let elapsed = Instant::now().duration_since(startup_at);
elapsed.as_secs() * 1000 + (elapsed.subsec_nanos() / 1000) as u64
elapsed.as_secs() * 1000 + (elapsed.subsec_nanos() / 1000000) as u64
})
}