Author: danielk
Date: 2007-11-25 17:41:20 +0000 (Sun, 25 Nov 2007)
New Revision: 14953
Changeset: http://cvs.mythtv.org/trac/changeset/14953
Modified:
trunk/mythtv/libs/libmythtv/programinfo.cpp
Log:
Fixes #3478. Quiet logs about invalid dates when parsing programinfo.
This patch from mtdean just checks for empty and '0000-00-00' dates in ProgramInfo::FromStringList() before parsing them, and set's them to a null date in this case, rather than having QDateTime do it for us and print a warning. The dates can be null on a normally functioning MythTV system so we shouldn't be printing these warnings constantly.