Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
morganherlocker committed Dec 3, 2019
1 parent fb8d3d3 commit fff253b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
CHANGELOG
---

## 4.1.0

- document requirement for MDS >=0.3
- normalize epoch millisecond timestamp parsing
- remove parsing for debug option for cache preservation (no longer needed)
- accept local file timestamps as milliseconds

## 4.0.0

- add custom zone aggregation for pickups and dropoffs
Expand Down
6 changes: 3 additions & 3 deletions src/providers/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ async function trips(
const data = chunk.toString();
if (data.length) {
var trip = JSON.parse(data);
trip.start_time = trip.start_time / 1000;
trip.end_time = trip.end_time / 1000;
trip.start_time = trip.start_time;
trip.end_time = trip.end_time;

if (trip.start_time >= start && trip.start_time < stop) {
trip = await tripMatch(trip, config, graph);
Expand Down Expand Up @@ -72,7 +72,7 @@ async function changes(
const data = chunk.toString();
if (data.length) {
var change = JSON.parse(data);
change.event_time = change.event_time / 1000;
change.event_time = change.event_time;
if (change.event_time >= start && change.event_time < stop) {
change = await changeMatch(change, config, graph);
const signature = crypto
Expand Down

0 comments on commit fff253b

Please sign in to comment.