diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-01-19 19:56:15 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-19 19:56:15 +1300 |
commit | 0c71214728c80204523e3d1ab12ab11e2725f2c6 (patch) | |
tree | 9651b83ddd1af675da18a32caa2b16075a258a74 /src/org | |
parent | 500d7361f023c15bd06cbe2836c5af1d12285583 (diff) | |
parent | 73f8a89d7dfad62a80fadbe905f2336e9c9bad6d (diff) | |
download | traccar-server-0c71214728c80204523e3d1ab12ab11e2725f2c6.tar.gz traccar-server-0c71214728c80204523e3d1ab12ab11e2725f2c6.tar.bz2 traccar-server-0c71214728c80204523e3d1ab12ab11e2725f2c6.zip |
Merge pull request #3721 from parveenkumardeeva/master
Adding filter.skipLimit functionality based on server time
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/FilterHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/FilterHandler.java b/src/org/traccar/FilterHandler.java index 4cd3eb0eb..1cf4ccd86 100644 --- a/src/org/traccar/FilterHandler.java +++ b/src/org/traccar/FilterHandler.java @@ -140,7 +140,7 @@ public class FilterHandler extends BaseDataHandler { private boolean skipLimit(Position position, Position last) { if (skipLimit != 0 && last != null) { - return (position.getFixTime().getTime() - last.getFixTime().getTime()) > skipLimit; + return (position.getServerTime().getTime() - last.getServerTime().getTime()) > skipLimit; } return false; } |