Skip to content

Commit

Permalink
fix: Start transition timestamp
Browse files Browse the repository at this point in the history
e-mission uses timestamp divided by 1000
  • Loading branch information
paultranvan committed Oct 16, 2023
1 parent 21d9ec0 commit 851583d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/domain/geolocation/tracking/tracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const uploadPoints = async (points, user, lastBatchPoint, isLastBatch) => {

// Add start transitions, within 0.1s of given ts
const addStartTransitions = async (addedTo, ts) => {
Log('Add start transitions on ' + new Date(ts))
Log('Add start transitions on ' + new Date(ts * 1000))

addedTo.push(
transition('STATE_WAITING_FOR_TRIP_START', 'T_EXITED_GEOFENCE', ts + 0.01)
Expand Down

0 comments on commit 851583d

Please sign in to comment.