From 73f8a89d7dfad62a80fadbe905f2336e9c9bad6d Mon Sep 17 00:00:00 2001 From: parveenkumaryadav Date: Fri, 19 Jan 2018 12:12:49 +0530 Subject: filter.skipLimit bug fix for gt06 like protocols --- src/org/traccar/FilterHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') 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; } -- cgit v1.2.3