aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-04 00:32:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-04 00:32:02 +1200
commitde6eca45cf61268ec5940251b2fb09dd639dab66 (patch)
treee5b2068d88a226440d20e2a9911f85870c4ebde5 /src
parent92561df6d0f1cfed99be259b825ba810afc86466 (diff)
downloadtrackermap-server-de6eca45cf61268ec5940251b2fb09dd639dab66.tar.gz
trackermap-server-de6eca45cf61268ec5940251b2fb09dd639dab66.tar.bz2
trackermap-server-de6eca45cf61268ec5940251b2fb09dd639dab66.zip
Fix Ulbotech time zone correction
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/UlbotechProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/UlbotechProtocolDecoder.java b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
index f2cedf31e..8a9df5992 100644
--- a/src/org/traccar/protocol/UlbotechProtocolDecoder.java
+++ b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
@@ -28,11 +28,11 @@ import org.traccar.model.Position;
public class UlbotechProtocolDecoder extends BaseProtocolDecoder {
- private long timeZone;
+ private final long timeZone;
public UlbotechProtocolDecoder(UlbotechProtocol protocol) {
super(protocol);
- timeZone = Context.getConfig().getInteger(protocol + ".timezone", 0);
+ timeZone = Context.getConfig().getInteger(getProtocolName() + ".timezone", 0);
}
private static final short DATA_GPS = 0x01;