Skip to content
Browse files

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 aa162d5546ec9327078f62207b42e2acaf3a983c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );

0 comments on commit aa162d5

Please sign in to comment.
You can’t perform that action at this time.