Permalink
Browse files

Convert times to UTC in fromXMLTVDate.

  • Loading branch information...
daniel-kristjansson committed Mar 26, 2012
1 parent c99ce87 commit 613d43b9754e1f45ec9f2231355a3b6b5488bc97
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythtv/programs/mythfilldatabase/xmltvparser.cpp
@@ -214,6 +214,8 @@ static void fromXMLTVDate(QString &timestr, QDateTime &dt, int localTimezoneOffs
dt = dt.addSecs(localTimezoneOffset * 60 );
}
+ dt = dt.toUTC();
+
timestr = MythDate::toString(dt, MythDate::kFilename);
}

0 comments on commit 613d43b

Please sign in to comment.