aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-06-17 20:57:41 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-06-17 20:57:41 +1200
commit32ef234d143057b7f1e785c38073c23e8ca1e108 (patch)
tree67a002f44a015ff443dd6c42dc8a6a8dde08d8ee /src/org
parent1c506b3831df9494f738c270815ab34e5eae7a9e (diff)
downloadtrackermap-server-32ef234d143057b7f1e785c38073c23e8ca1e108.tar.gz
trackermap-server-32ef234d143057b7f1e785c38073c23e8ca1e108.tar.bz2
trackermap-server-32ef234d143057b7f1e785c38073c23e8ca1e108.zip
Fix GpsGate decoder
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/GpsGateProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GpsGateProtocolDecoder.java b/src/org/traccar/protocol/GpsGateProtocolDecoder.java
index 2ed7b5a19..268f9ea8a 100644
--- a/src/org/traccar/protocol/GpsGateProtocolDecoder.java
+++ b/src/org/traccar/protocol/GpsGateProtocolDecoder.java
@@ -41,7 +41,7 @@ public class GpsGateProtocolDecoder extends BaseProtocolDecoder {
*/
private static final Pattern pattern = Pattern.compile(
"\\$GPRMC," +
- "(\\d{2})(\\d{2})(\\d{2})\\.(\\d+)," + // Time (HHMMSS.SSS)
+ "(\\d{2})(\\d{2})(\\d{2})\\.?(\\d+)?," + // Time (HHMMSS.SSS)
"([AV])," + // Validity
"(\\d{2})(\\d{2}\\.\\d+)," + // Latitude (DDMM.MMMM)
"([NS])," +