[mythtv-commits] Ticket #11405: mythfrontend displays unexpected 'last recorded' time for rule that never recorded

MythTV noreply at mythtv.org
Thu Mar 21 20:18:24 UTC 2013


#11405: mythfrontend displays unexpected 'last recorded' time for rule that never
recorded
------------------------------------------+-----------------------------
 Reporter:  Mike Kutner <videoguy1080@…>  |          Owner:  danielk
     Type:  Patch - Bug Fix               |         Status:  closed
 Priority:  minor                         |      Milestone:  0.27
Component:  MythTV - General              |        Version:  Master Head
 Severity:  low                           |     Resolution:  fixed
 Keywords:  last recorded                 |  Ticket locked:  0
------------------------------------------+-----------------------------
Changes (by David Engel <dengel@…>):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:24c64a1e0bc36fc2d2dbd8d54bf30ac9fe387a85/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="24c64a1e0bc36fc2d2dbd8d54bf30ac9fe387a85"
 Change MythDate::toString() to return an empty string for invalid inputs.

 It's possible a "0000-00-00 00:00:00" might be somewhat acceptable in
 some rare cases because the all 0s value obviously represents a
 special value.  The UTC to local conversions added in 0.26, however,
 now causes it to change to a less obviously special, and perhaps even
 misledaing, not all 0s value.  Since MythDate::toString() was a
 Myth-specific replacement for QDateTime::toString() and
 QDate::toString() and those functions return an empty string for
 invalid inputs, we probably should too.

 Fixes #11405 .
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11405#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list