aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-03-12 21:45:38 -0400
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-17 11:25:25 -0400
commit67471853fa2549da0f976b510730d99111a25b5d (patch)
treee82a33ad887c94ba552733c2617efd0ac3d9c52e
parenta9a0fb6ca33345bc2296168602ac93edfb243a1b (diff)
downloadtrackermap-server-67471853fa2549da0f976b510730d99111a25b5d.tar.gz
trackermap-server-67471853fa2549da0f976b510730d99111a25b5d.tar.bz2
trackermap-server-67471853fa2549da0f976b510730d99111a25b5d.zip
Fixed Parser.DateTimeFormat;
-rw-r--r--src/org/traccar/protocol/SiwiProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SiwiProtocolDecoder.java b/src/org/traccar/protocol/SiwiProtocolDecoder.java
index 5a843760e..7bf0e9e17 100644
--- a/src/org/traccar/protocol/SiwiProtocolDecoder.java
+++ b/src/org/traccar/protocol/SiwiProtocolDecoder.java
@@ -88,7 +88,7 @@ public class SiwiProtocolDecoder extends BaseProtocolDecoder {
position.setAltitude(parser.nextDouble());
position.setCourse(parser.nextInt());
- position.setTime(parser.nextDateTime(Parser.DateTimeFormat.HMS_DMY4, "IST"));
+ position.setTime(parser.nextDateTime(Parser.DateTimeFormat.HMS_DMY2, "IST"));
return position;
}