diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-03-21 19:04:54 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-03-21 19:04:54 -0700 |
commit | 2df9790f222518b3497981f1655a240c0156a6f4 (patch) | |
tree | 07031b3761790bb8759cad7592e9c35eff4e625c /src/org/traccar/protocol/XirgoProtocolDecoder.java | |
parent | 1816dcd505d0d5d8201ce2e8f78030569e70322f (diff) | |
download | trackermap-server-2df9790f222518b3497981f1655a240c0156a6f4.tar.gz trackermap-server-2df9790f222518b3497981f1655a240c0156a6f4.tar.bz2 trackermap-server-2df9790f222518b3497981f1655a240c0156a6f4.zip |
Update date format
Diffstat (limited to 'src/org/traccar/protocol/XirgoProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/XirgoProtocolDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/XirgoProtocolDecoder.java b/src/org/traccar/protocol/XirgoProtocolDecoder.java index ef1695856..38c21f387 100644 --- a/src/org/traccar/protocol/XirgoProtocolDecoder.java +++ b/src/org/traccar/protocol/XirgoProtocolDecoder.java @@ -205,9 +205,9 @@ public class XirgoProtocolDecoder extends BaseProtocolDecoder { break; case "D": String[] date = values[i].split("/"); - dateBuilder.setYear(Integer.parseInt(date[0])); - dateBuilder.setMonth(Integer.parseInt(date[1])); - dateBuilder.setDay(Integer.parseInt(date[2])); + dateBuilder.setMonth(Integer.parseInt(date[0])); + dateBuilder.setDay(Integer.parseInt(date[1])); + dateBuilder.setYear(Integer.parseInt(date[2])); break; case "T": String[] time = values[i].split(":"); |