[mythtv-commits] Ticket #11405: mythfrontend displays unexpected 'last recorded' time for rule that never recorded
MythTV
noreply at mythtv.org
Thu Mar 21 21:09:29 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
------------------------------------------+-----------------------------
Comment (by David Engel <dengel@…>):
In [changeset:750a579240c76d8921dc0a6fc24cc18860bc6817/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="750a579240c76d8921dc0a6fc24cc18860bc6817"
Change MythDate::toString() to return an empty string for invalid inputs.
Cherry picked from master for fixes/0.26.
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.
Refs #11405 .
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11405#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list