From d262886a2dccccbc01413c05a302be9044433a76 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 29 Jul 2014 10:58:35 -0700 Subject: Fix time zone conversions I know I tested this - no idea how I missed this. Anyway, this was of course utterly bogus. Whenever we get a time from a time_t into a Qt Date or Time datastructure, we need to adjust it by the timezone offset as otherwise Qt will assume it's in local time and helpfully change it to the wrong values for us. See #655 Signed-off-by: Dirk Hohndel --- qt-ui/maintab.ui | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qt-ui/maintab.ui') diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 2770801a2..ca58ab034 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -284,6 +284,9 @@ 0 + + Qt::UTC + @@ -291,6 +294,9 @@ true + + Qt::UTC + -- cgit v1.2.3-70-g09d2