diff options
Diffstat (limited to 'src/org')
-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(":"); |