Opened 19 years ago
Closed 19 years ago
#2003 closed defect (fixed)
date/time typo in ProgramInfo::ToMap() ?
| Reported by: | Owned by: | danielk | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.20 |
| Component: | mythtv | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
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
Change History (2)
Note:
See TracTickets
for help on using tickets.

(In [10476]) Fixes #2003. Type caused date to never be reported for videos, even when known.