[DB-SIG] adodbapi return datetime
vernondcole at gmail.com
Tue Feb 10 16:28:29 CET 2009
It has always seemed to me that the syntax you tried should work. Perhaps
someday, some "real" Python guru will explain to me why sometimes it does
not, and maybe even tell me how to fix it. Perhaps the module definition is
not done quite right, I dunno? Try adding an extra level of depth to your
module reference, and I think you may find that it works.
Looks weird to me and I don't understand it, but try it.
On Tue, Feb 10, 2009 at 7:46 AM, William Dode <wilk at flibuste.net> wrote:
> How should i do to make adodbapi return datetime instead of mx.DateTime?
> I tried
> import adodbapi
> adodbapi.dateconverter = adodbapi.pythonDateTimeConverter()
> Maybe i didn't test well, but it doesn't seems to work...
> William Dodé - http://flibuste.net
> Informaticien Indépendant
> DB-SIG maillist - DB-SIG at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the DB-SIG