From a2c2723d87e6de21a99724c1b45ea786c2ef77c9 Mon Sep 17 00:00:00 2001 From: Gareth Coco Date: Mon, 13 Jun 2011 11:25:04 -0400 Subject: [PATCH] Change start date from UTC to localtime for bin ride file Fixes 338. --- src/BinRideFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BinRideFile.cpp b/src/BinRideFile.cpp index f706d5cba..c21b93321 100644 --- a/src/BinRideFile.cpp +++ b/src/BinRideFile.cpp @@ -244,7 +244,7 @@ struct BinFileReaderState if (count) *count += 7; - QDateTime dateTime(QDate((0xff & c1)*256+(0xff & c2), (0xff & c3), (0xff & c4)), QTime((0xff & c5), (0xff & c6), (0xff & c7)), Qt::UTC); + QDateTime dateTime(QDate((0xff & c1)*256+(0xff & c2), (0xff & c3), (0xff & c4)), QTime((0xff & c5), (0xff & c6), (0xff & c7)), Qt::LocalTime); return dateTime.toTime_t(); }