aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorSantosh <santushet@gmail.com>2016-10-14 12:42:07 +0530
committerSantosh <santushet@gmail.com>2016-10-14 12:42:07 +0530
commit668a00ba8f8b891984843ff1b23e1775bf526e50 (patch)
tree252ea032b3e9045cf8c1fdbef8c2b6fcb7438055 /src/org/traccar/protocol
parent6b16be4ae85d6d2ee4e182a82a9ca3ef1173a27e (diff)
downloadtraccar-server-668a00ba8f8b891984843ff1b23e1775bf526e50.tar.gz
traccar-server-668a00ba8f8b891984843ff1b23e1775bf526e50.tar.bz2
traccar-server-668a00ba8f8b891984843ff1b23e1775bf526e50.zip
Remove timezone config from debug.xml and add default timezone
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/TkmateProtocolDecoder.java5
1 files changed, 1 insertions, 4 deletions
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()