Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Dec 6, 2023
1 parent d136272 commit ecddcae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions task.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ export default class Task extends ETL {
return true;
}
}).map((plow) => {
moment(f.properties[prop]).tz('America/Denver').format('YYYY-MM-DD HH:mm z');

const feat = {
id: plow.avl_location.vehicle.id + '_' + plow.avl_location.vehicle.id2,
type: 'Feature',
Expand All @@ -110,7 +108,7 @@ export default class Task extends ETL {
vehicle_subtype: plow.avl_location.vehicle.subtype,
current_status_state: plow.avl_location.current_status.state,
current_status_info: plow.avl_location.current_status.info,
collection_timestamp: moment(Math.floor(plow.avl_location.rtdh_timestamp * 1000)).tz('America/Denver').format('YYYY-MM-DD HH:mm z');
collection_timestamp: moment(Math.floor(plow.avl_location.rtdh_timestamp * 1000)).tz('America/Denver').format('YYYY-MM-DD HH:mm z'),
odometer: plow.avl_location.position.odometer
},
geometry: {
Expand Down

0 comments on commit ecddcae

Please sign in to comment.