Skip to content

Commit

Permalink
fix(search): use full .1ms precision
Browse files Browse the repository at this point in the history
Avoid conversion via Date constructor that seems to loose sub ms precision.
  • Loading branch information
mbehr1 committed Jan 3, 2024
1 parent 3d3ab9c commit 4a4184c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panels/SearchPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ export class SearchPanelProvider implements WebviewViewProvider {
return {
index: m.index,
receptionTimeInMs: m.receptionTimeInMs,
calculatedTimeInMs: doc.provideTimeByMsg(m)?.valueOf(),
calculatedTimeInMs: doc.provideTimeByMsgInMs(m),
timeStamp: m.timeStamp,
ecu: m.ecu,
mcnt: m.mcnt,
Expand Down

0 comments on commit 4a4184c

Please sign in to comment.