diff --git a/neqo-common/src/qlog.rs b/neqo-common/src/qlog.rs index b1f98b95c4..601fdfc65f 100644 --- a/neqo-common/src/qlog.rs +++ b/neqo-common/src/qlog.rs @@ -177,7 +177,7 @@ pub fn new_trace(role: Role) -> qlog::TraceSeq { // We can't do the obvious two-step conversion with f64::from(i32::try_from(...)), // because that overflows earlier than is ideal. This should be fine for a while. #[allow(clippy::cast_precision_loss)] - Some(time::OffsetDateTime::now_utc().unix_timestamp() as f64) + Some((time::OffsetDateTime::now_utc().unix_timestamp() * 1000) as f64) }, time_format: Some("relative".to_string()), }),