aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-01-19 19:56:15 +1300
committerGitHub <noreply@github.com>2018-01-19 19:56:15 +1300
commit0c71214728c80204523e3d1ab12ab11e2725f2c6 (patch)
tree9651b83ddd1af675da18a32caa2b16075a258a74 /src
parent500d7361f023c15bd06cbe2836c5af1d12285583 (diff)
parent73f8a89d7dfad62a80fadbe905f2336e9c9bad6d (diff)
downloadtrackermap-server-0c71214728c80204523e3d1ab12ab11e2725f2c6.tar.gz
trackermap-server-0c71214728c80204523e3d1ab12ab11e2725f2c6.tar.bz2
trackermap-server-0c71214728c80204523e3d1ab12ab11e2725f2c6.zip
Merge pull request #3721 from parveenkumardeeva/master
Adding filter.skipLimit functionality based on server time
Diffstat (limited to 'src')
-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;
}