aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-07-19 06:26:19 -0700
committerAnton Tananaev <anton@traccar.org>2023-07-19 06:26:26 -0700
commit5a1a8d9192ee44b116f10e5ce3551a4e4bc70deb (patch)
tree90f0f656a9ec109b75d1d0a98bc1641b7b71d5ae /src/main/java/org/traccar/protocol
parenta632bdab0f5a6771ae40260a485c93bdcc853d42 (diff)
downloadtrackermap-server-5a1a8d9192ee44b116f10e5ce3551a4e4bc70deb.tar.gz
trackermap-server-5a1a8d9192ee44b116f10e5ce3551a4e4bc70deb.tar.bz2
trackermap-server-5a1a8d9192ee44b116f10e5ce3551a4e4bc70deb.zip
Fix date decoding
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/T622IridiumProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/T622IridiumProtocolDecoder.java b/src/main/java/org/traccar/protocol/T622IridiumProtocolDecoder.java
index 27b7baf54..9e64ec9be 100644
--- a/src/main/java/org/traccar/protocol/T622IridiumProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/T622IridiumProtocolDecoder.java
@@ -94,7 +94,7 @@ public class T622IridiumProtocolDecoder extends BaseProtocolDecoder {
position.setLongitude(buf.readIntLE() / 1000000.0);
break;
case 0x04:
- position.setTime(new Date((buf.readUnsignedIntLE() + 946713600) * 1000));
+ position.setTime(new Date((buf.readUnsignedIntLE() + 946684800) * 1000));
break;
case 0x05:
position.setValid(buf.readUnsignedByte() > 0);