aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gt06ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 10:34:02 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 10:34:02 +1300
commite997c2642b35350241614acaef6d606e37223fe6 (patch)
tree145cd9817c3b8d4954200ada5012b91719697f8f /src/org/traccar/protocol/Gt06ProtocolDecoder.java
parent797263bfe9655ac82a97954c6930ec4a650a0609 (diff)
downloadtrackermap-server-e997c2642b35350241614acaef6d606e37223fe6.tar.gz
trackermap-server-e997c2642b35350241614acaef6d606e37223fe6.tar.bz2
trackermap-server-e997c2642b35350241614acaef6d606e37223fe6.zip
Extend date builder interface
Diffstat (limited to 'src/org/traccar/protocol/Gt06ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gt06ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
index 5d79958a5..ffdbdf17b 100644
--- a/src/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -161,7 +161,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
DateBuilder dateBuilder = new DateBuilder(timeZone)
.setDate(buf.readUnsignedByte(), buf.readUnsignedByte(), buf.readUnsignedByte())
.setTime(buf.readUnsignedByte(), buf.readUnsignedByte(), buf.readUnsignedByte());
- position.setTime(dateBuilder.build());
+ position.setTime(dateBuilder.getDate());
// GPS length and Satellites count
int gpsLength = buf.readUnsignedByte();