From 4e23df3a66a79fd601ba07628f7b8c2a30f54f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 21 Nov 2016 21:59:21 +0100 Subject: [PATCH] Fixed broken date handling --- src/igcparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/igcparser.cpp b/src/igcparser.cpp index 0aba808e..d749de84 100644 --- a/src/igcparser.cpp +++ b/src/igcparser.cpp @@ -149,7 +149,7 @@ bool IGCParser::readBRecord(const char *line, int len) if (time < _time) - _date.addDays(1); + _date = _date.addDays(1); _time = time; Trackpoint t(Coordinates(lon, lat));