Skip to content

Commit

Permalink
fix: Fix parsing of relative altitude timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkeaton committed Jun 4, 2023
1 parent d3169d3 commit 0967023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const parseRelativeAltitudeSensorCsvFile = (readStream) => {
const values = Object.values(data);

relativeAltitude.push({
timestamp: new Date(parseFloat(values[0]) * 1000.0),
timestamp: new Date(values[0]),
pressure: parseFloat(values[1]),
relativeAltitude: parseFloat(values[2]),
});
Expand Down

0 comments on commit 0967023

Please sign in to comment.