Skip to content

Commit

Permalink
stop_times: don't parse shape_dist_traveled as integer 🐛
Browse files Browse the repository at this point in the history
closes #53

Co-Authored-By: Jannis R <mail@jannisr.de>
  • Loading branch information
smohiudd and derhuerst committed Jan 4, 2024
1 parent ea6395c commit 112e38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stop_times.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const formatStopTimesRow = (s) => {
s.stop_headsign || null,
s.pickup_type ? pickupDropOffType(s.pickup_type) : null,
s.drop_off_type ? pickupDropOffType(s.drop_off_type) : null,
s.shape_dist_traveled ? parseInt(s.shape_dist_traveled) : null,
s.shape_dist_traveled || null,
s.timepoint ? timepoint(s.timepoint) : null,
]
}
Expand Down

0 comments on commit 112e38b

Please sign in to comment.