aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorparveenkumaryadav <parveenkumardeeva@gmail.com>2018-01-19 12:12:49 +0530
committerparveenkumaryadav <parveenkumardeeva@gmail.com>2018-01-19 12:12:49 +0530
commit73f8a89d7dfad62a80fadbe905f2336e9c9bad6d (patch)
tree9651b83ddd1af675da18a32caa2b16075a258a74 /src/org
parent500d7361f023c15bd06cbe2836c5af1d12285583 (diff)
downloadtraccar-server-73f8a89d7dfad62a80fadbe905f2336e9c9bad6d.tar.gz
traccar-server-73f8a89d7dfad62a80fadbe905f2336e9c9bad6d.tar.bz2
traccar-server-73f8a89d7dfad62a80fadbe905f2336e9c9bad6d.zip
filter.skipLimit bug fix for gt06 like protocols
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/FilterHandler.java2
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;
}