Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stuartm committed Jul 4, 2012
1 parent 04a961e commit aa162d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/upnpcdstv.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit aa162d5

Please sign in to comment.