Browse files

Remove toLocalTime in a couple RSSParse functions.

  • Loading branch information...
1 parent 5d645e8 commit c99ce8732402f9eccd9bef8455fd4c21d65aa566 @daniel-kristjansson daniel-kristjansson committed Mar 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmyth/rssparse.cpp
View
4 mythtv/libs/libmyth/rssparse.cpp
@@ -1046,7 +1046,7 @@ QDateTime Parse::RFC822TimeToQDateTime(const QString& t) const
return QDateTime();
result = result.addSecs(hoursShift * 3600 * (-1) + minutesShift *60 * (-1));
result.setTimeSpec(Qt::UTC);
- return result.toLocalTime();
+ return result;
}
QDateTime Parse::FromRFC3339(const QString& t) const
@@ -1080,7 +1080,7 @@ QDateTime Parse::FromRFC3339(const QString& t) const
result = result.addSecs(hoursShift * 3600 * multiplier + minutesShift * 60 * multiplier);
}
result.setTimeSpec(Qt::UTC);
- return result.toLocalTime();
+ return result;
}
QList<Enclosure> Parse::GetEnclosures(const QDomElement& entry) const

0 comments on commit c99ce87

Please sign in to comment.