We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b045483 commit f0ff912Copy full SHA for f0ff912
quickwit/quickwit-serve/src/jaeger_api/parse_duration.rs
@@ -30,8 +30,8 @@ pub(crate) fn parse_duration_with_units(duration_string: String) -> anyhow::Resu
30
}
31
32
pub(crate) fn to_well_known_timestamp(timestamp_nanos: i64) -> ProstTimestamp {
33
- let seconds = timestamp_nanos / 1_000_000;
34
- let nanos = (timestamp_nanos % 1_000_000) as i32;
+ let seconds = timestamp_nanos / 1_000_000_000;
+ let nanos = (timestamp_nanos % 1_000_000_000) as i32;
35
ProstTimestamp { seconds, nanos }
36
37
0 commit comments