aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debug.xml1
-rw-r--r--src/org/traccar/protocol/TkmateProtocolDecoder.java5
2 files changed, 1 insertions, 5 deletions
diff --git a/debug.xml b/debug.xml
index 4dcb143fc..6ca6f78e9 100644
--- a/debug.xml
+++ b/debug.xml
@@ -486,6 +486,5 @@
<entry key='smokey.port'>5125</entry>
<entry key='extremtrac.port'>5126</entry>
<entry key='trakmate.port'>5127</entry>
- <entry key='trakmate.timezone'>19800</entry>
</properties>
diff --git a/src/org/traccar/protocol/TkmateProtocolDecoder.java b/src/org/traccar/protocol/TkmateProtocolDecoder.java
index 2886e48a2..08f189ece 100644
--- a/src/org/traccar/protocol/TkmateProtocolDecoder.java
+++ b/src/org/traccar/protocol/TkmateProtocolDecoder.java
@@ -20,10 +20,7 @@ public class TkmateProtocolDecoder extends BaseProtocolDecoder {
public TkmateProtocolDecoder(TkmateProtocol protocol) {
super(protocol);
-
- if (Context.getConfig().hasKey(getProtocolName() + ".timezone")) {
- timeZone.setRawOffset(Context.getConfig().getInteger(getProtocolName() + ".timezone") * 1000);
- }
+ timeZone.setRawOffset(Context.getConfig().getInteger(getProtocolName() + ".timezone") * 1000);
}
private static final Pattern PATTERN_SRT = new PatternBuilder()