aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-12-03 14:43:50 +0800
committerAnton Tananaev <anton.tananaev@gmail.com>2017-12-03 14:43:50 +0800
commitaa4a01126f9724dece194c9543927d60934ec2a6 (patch)
tree30d6fcfb3f7edb7646e64da7edc2deced83c62a3 /src/org/traccar/protocol
parent56e496c728faede7a6b26a382e87081dec569f78 (diff)
downloadtraccar-server-aa4a01126f9724dece194c9543927d60934ec2a6.tar.gz
traccar-server-aa4a01126f9724dece194c9543927d60934ec2a6.tar.bz2
traccar-server-aa4a01126f9724dece194c9543927d60934ec2a6.zip
Handle alternative eelink format (fix #3661)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/EelinkProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/EelinkProtocolDecoder.java b/src/org/traccar/protocol/EelinkProtocolDecoder.java
index 30e94026c..159a93d9b 100644
--- a/src/org/traccar/protocol/EelinkProtocolDecoder.java
+++ b/src/org/traccar/protocol/EelinkProtocolDecoder.java
@@ -271,9 +271,9 @@ public class EelinkProtocolDecoder extends BaseProtocolDecoder {
.number("(d+.d+)") // course
.any()
.text("Speed:")
- .number("(d+.d+)KM/H") // speed
+ .number("(d+.d+)") // speed
.any()
- .text("Date Time:")
+ .expression("Date ?Time:")
.number("(dddd)-(dd)-(dd) ") // date
.number("(dd):(dd):(dd)") // time
.compile();