diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-04 00:32:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-04 00:32:02 +1200 |
commit | de6eca45cf61268ec5940251b2fb09dd639dab66 (patch) | |
tree | e5b2068d88a226440d20e2a9911f85870c4ebde5 /src | |
parent | 92561df6d0f1cfed99be259b825ba810afc86466 (diff) | |
download | trackermap-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.java | 4 |
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; |