[mythtv-commits] mythtv branch master updated by gigem. v0.27-pre2-770-g24c64a1
Git Repo Owner
noreply at mythtv.org
Thu Mar 21 20:18:20 UTC 2013
The branch, master has been updated on the
mythtv repository by gitolite user gigem.
via 24c64a1e0bc36fc2d2dbd8d54bf30ac9fe387a85 (commit)
from 841ff3a359ce668eb51ef1da917ffab5a0932302 (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 24c64a1e0bc36fc2d2dbd8d54bf30ac9fe387a85
Author: David Engel <dengel at mythtv.org> at Thu, 21 Mar 2013 15:05:18 -0500
Committer: David Engel <dengel at mythtv.org> at Thu, 21 Mar 2013 15:05:18 -0500
URL: http://code.mythtv.org/cgit/mythtv/commit/?id=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 .
-----------------------------------------------------------------------
Summary of changes:
mythtv/libs/libmythbase/mythdate.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
--
More information about the mythtv-commits
mailing list