[mythtv-commits] Ticket #2003: date/time typo in ProgramInfo::ToMap() ?
MythTV
mythtv at cvs.mythtv.org
Wed Jun 28 08:12:29 UTC 2006
#2003: date/time typo in ProgramInfo::ToMap() ?
-----------------------------------+----------------------------------------
Reporter: mythtv at mail.hoenig.cc | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium |
-----------------------------------+----------------------------------------
Hi,
is it really desired behaviour, that in libmythtv/ProgramInfo::ToMap() the
''starttime'' and ''recstarttime'' are initialized with the year?
source:/trunk/mythtv/libs/libmythtv/programinfo.cpp
{{{
451 if (startts.date().year() == 1895)
452 {
453 progMap["startdate"] = "?";
454 progMap["recstartdate"] = "?";
455 }
456 else
457 {
vvv
458 progMap["starttime"] = startts.toString("yyyy");
459 progMap["recstarttime"] = startts.toString("yyyy");
^^^
460 }
}}}
Shouldn't those be ''startdate'' and ''recstartdate'', too?
take care, have fun
/christian
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2003>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list