[mythtv] small patch for fixing invalid datetime conversion
Takeru KOMORIYA
komoriya at paken.org
Mon Feb 23 10:25:02 EST 2004
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,
-----------------------
Takeru Komoriya
komoriya at paken.org
http://www.paken.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythfilldata-fix-null-datetime.patch
Type: application/octet-stream
Size: 1003 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040224/41d9378c/mythfilldata-fix-null-datetime.obj
More information about the mythtv-dev
mailing list