[DB-SIG] adodbapi return datetime

Vernon Cole 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.

adodbapi.adodbapi.dateconverter =

Looks weird to me and I don't understand it, but try it.
Vernon Cole

On Tue, Feb 10, 2009 at 7:46 AM, William Dode <wilk at flibuste.net> wrote:

> Hi,
> 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...
> thanks
> --
> William Dodé - http://flibuste.net
> Informaticien Indépendant
> _______________________________________________
> DB-SIG maillist  -  DB-SIG at python.org
> http://mail.python.org/mailman/listinfo/db-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/db-sig/attachments/20090210/e93e8f58/attachment.htm>

More information about the DB-SIG mailing list