[mythtv] small patch for fixing invalid datetime conversion

Isaac Richards ijr at po.cwru.edu
Tue Feb 24 02:21:59 EST 2004


On Monday 23 February 2004 10:25 am, Takeru KOMORIYA wrote:
> Hi,
>
> When I run mythfilldatabase at first time, it outputs error messages
> like:
>  QTime::setHMS Invalid time 28:00:00.000
>  QDate::setYMD: Invalid date 2935-93-02
> and it causes broken program database.
>
> I found this originates from converting null datetime field to string.
>
> I think it appears some version of qt according to
>  http://lists.trolltech.com/qt-interest/2001-08/msg00421.html
> (I use qt-3.1.2 on fedora core 1)
>
> Attached patch should fix the problem.

Thanks, I've applied this to CVS.

Isaac


More information about the mythtv-dev mailing list