Yellow Andy, In fact what you've said works! That line was missing on db.py and after I inserted it there everything works the right way. I guess this thread is now over. Thanks!!! Cheers Hugo On 6/3/05, Andy Dustman <farcepest@gmail.com> wrote:
On 6/3/05, Hugo Ramos <ramosh@gmail.com> wrote:
Yellow,
I wrote the wrong version. I'm using MySQL 4.0.24 + Zope 276 + mysql-python 1.0.0 + ZMySQLDA 2.0.9b3
Take a look at ZMySQLDA/db.py:
http://cvs.sourceforge.net/viewcvs.py/mysql-python/ZMySQLDA/lib/python/Produ...
You may need to add a line like this to the DB class:
conv[FIELD_TYPE.TIMESTAMP] = _mysql_timestamp_converter
Not sure why this is missing.
-- Computer interfaces should never be made of meat. http://www.terrybisson.com/meat.html
-- Hugo Ramos - ramosh@gmail.com