diff options
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java index 2e3620179..9646a5e6c 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -126,7 +126,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder { int deltaMinutes = (localHours - utcHours) * 60 + localMinutes - utcMinutes; if (deltaMinutes <= -12 * 60) { deltaMinutes += 24 * 60; - } else if (deltaMinutes > 12) { + } else if (deltaMinutes > 12 * 60) { deltaMinutes -= 24 * 60; } time.add(Calendar.MINUTE, -deltaMinutes); |