[Zope] MySQL timestamp issue

Hugo Ramos ramosh at gmail.com
Mon Jun 6 12:14:04 EDT 2005


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 at gmail.com> wrote:
> On 6/3/05, Hugo Ramos <ramosh at 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/Products/ZMySQLDA/db.py?rev=1.21&view=auto
> 
> 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 at gmail.com


More information about the Zope mailing list