From aa162d5546ec9327078f62207b42e2acaf3a983c Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Wed, 4 Jul 2012 18:35:40 +0100 Subject: [PATCH] Fix upnp following UTC conversion. Starttime is now always UTC and doesn't need converting a second time. This could/should have been a no-op but the QT driver marks all datetimes loaded from the database as localtime instead of UTC. --- mythtv/programs/mythbackend/upnpcdstv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythtv/programs/mythbackend/upnpcdstv.cpp b/mythtv/programs/mythbackend/upnpcdstv.cpp index d42baa9fc2a..c0b8ff4551b 100644 --- a/mythtv/programs/mythbackend/upnpcdstv.cpp +++ b/mythtv/programs/mythbackend/upnpcdstv.cpp @@ -322,7 +322,7 @@ void UPnpCDSTv::AddItem( const UPnpCDSRequest *pRequest, QString sURIParams = QString( "?ChanId=%1&StartTime=%2" ) .arg( nChanid ) - .arg( dtStartTime.toUTC().toString(Qt::ISODate)); + .arg( dtStartTime.toString(Qt::ISODate)); QString sId = QString( "RecTv/0/item%1") .arg( sURIParams );