Overview charts first and last day set to UTC time fix

This commit is contained in:
Mark Watkins 2016-02-29 00:04:26 +10:00
parent f859a3ee7e
commit 63c3bc5ff0

View File

@ -88,8 +88,8 @@ void gSummaryChart::SetDay(Day *unused_day)
date = date.addDays(1);
} while (date <= lastday);
m_minx = QDateTime(firstday, QTime(0,0,0)).toMSecsSinceEpoch();
m_maxx = QDateTime(lastday, QTime(23,59,59)).toMSecsSinceEpoch();
m_minx = QDateTime(firstday, QTime(0,0,0), Qt::UTC).toMSecsSinceEpoch();
m_maxx = QDateTime(lastday, QTime(23,59,59), Qt::UTC).toMSecsSinceEpoch();
m_miny = 0;
m_maxy = 20;