aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-13 15:08:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-13 15:08:57 +1200
commitf9e3af42ebd08b83522574b79617d89cd54ab486 (patch)
treeb35a4cf41605b3c67a71c07f39a1fd5bb054edf4
parenta567564ea3d91e0597b17bf6c75bf2595c7c84d6 (diff)
downloadtraccar-server-f9e3af42ebd08b83522574b79617d89cd54ab486.tar.gz
traccar-server-f9e3af42ebd08b83522574b79617d89cd54ab486.tar.bz2
traccar-server-f9e3af42ebd08b83522574b79617d89cd54ab486.zip
Improve GT06 location regex (fix #4004)
-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 e405bc195..6fe7102cf 100644
--- a/src/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -350,7 +350,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
.text("Course:").number("(d+.d+),") // course
.text("Speed:").number("(d+.d+),") // speed
.text("DateTime:")
- .number("(dddd)-(dd)-(dd) ") // date
+ .number("(dddd)-(dd)-(dd) +") // date
.number("(dd):(dd):(dd)") // time
.compile();