Skip to content

Commit

Permalink
npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkjanfaber committed Jul 5, 2024
1 parent 7caf876 commit c07e741
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/nodes/vrm-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ module.exports = function (RED) {
}
}
if (installations === 'gps-download') {
const gps_start = new Date( config.gps_start + " GMT+0000")
const gps_end = new Date( config.gps_end + " GMT+0000")
parameters.start = Math.floor(gps_start.getTime() / 1000)
parameters.end = Math.floor(gps_end.getTime() / 1000)
const gpsStart = new Date(config.gps_start + ' GMT+0000')
const gpsEnd = new Date(config.gps_end + ' GMT+0000')
parameters.start = Math.floor(gpsStart.getTime() / 1000)
parameters.end = Math.floor(gpsEnd.getTime() / 1000)
url += '?'
} else {
url += '&'
Expand Down

0 comments on commit c07e741

Please sign in to comment.