Skip to content

Commit

Permalink
Merge pull request #53 from teolag/development
Browse files Browse the repository at this point in the history
Convert to correct nanoseconds
  • Loading branch information
JaniAnttonen authored Nov 11, 2020
2 parents cbef7bb + 2636275 commit a9fdc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proto/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
return {
timestamp: {
seconds: Math.floor(entry.ts / 1000),
nanos: (entry.ts % 1000) * 1000
nanos: (entry.ts % 1000) * 1000000
},
line: entry.line
}
Expand Down

0 comments on commit a9fdc72

Please sign in to comment.