aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/SanavProtocolDecoder.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-03-13 15:48:12 -0400
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-17 11:25:25 -0400
commit138c254acaf9ad1274be19e1e566fc45d56d3433 (patch)
tree7d4e652a316e7e6ee11e501396b40fd203c3c142 /src/org/traccar/protocol/SanavProtocolDecoder.java
parent67471853fa2549da0f976b510730d99111a25b5d (diff)
downloadtrackermap-server-138c254acaf9ad1274be19e1e566fc45d56d3433.tar.gz
trackermap-server-138c254acaf9ad1274be19e1e566fc45d56d3433.tar.bz2
trackermap-server-138c254acaf9ad1274be19e1e566fc45d56d3433.zip
Fixed protocols that incorrectly used ".(d+)" to record milliseconds: Enfora, GpsGate, Gt30, Meiligao, Sanav, Tlt2h, and Xexun;
Diffstat (limited to 'src/org/traccar/protocol/SanavProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/SanavProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SanavProtocolDecoder.java b/src/org/traccar/protocol/SanavProtocolDecoder.java
index debb52b1d..bd49585f6 100644
--- a/src/org/traccar/protocol/SanavProtocolDecoder.java
+++ b/src/org/traccar/protocol/SanavProtocolDecoder.java
@@ -38,7 +38,7 @@ public class SanavProtocolDecoder extends BaseProtocolDecoder {
.number("(d+)") // imei
.expression("&?rmc[:=]")
.text("$GPRMC,")
- .number("(dd)(dd)(dd).(d+),") // time (hhmmss.ms)
+ .number("(dd)(dd)(dd).(ddd),") // time (hhmmss.sss)
.expression("([AV]),") // validity
.number("(d+)(dd.d+),") // latitude
.expression("([NS]),")