[mythtv-firehose] mythtv branch fixes/0.26 updated by gigem. v0.26.0-121-g750a579

Git Repo Owner noreply at mythtv.org
Thu Mar 21 21:09:26 UTC 2013


The branch, fixes/0.26 has been updated on the
mythtv repository by gitolite user gigem.
       via  750a579240c76d8921dc0a6fc24cc18860bc6817 (commit)
      from  65e6136a72017826fa58a2e2ae6ebc1578cf17a4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 750a579240c76d8921dc0a6fc24cc18860bc6817
Author:    David Engel <dengel at mythtv.org> at Thu, 21 Mar 2013 16:08:21 -0500
Committer: David Engel <dengel at mythtv.org> at Thu, 21 Mar 2013 16:08:21 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=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 .



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythbase/mythdate.cpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

-- 



More information about the mythtv-firehose mailing list