On 25 Dec 2013, at 00:27, David Bolen <db3l....@gmail.com> wrote:

> Sibylle Koczian <nulla.epist...@web.de> writes:
> 
>> Exactly, that's it. The stackoverflow discussion was very instructive,
>> thank you! I'll try out psycopg2-dateutils.
> 
> I'm a big fan of dateutil.  If you do use it, you may also choose to
> bypass the use of timedelta entirely, since as you've seen it can fail
> to accurately represent the database value (timedelta only has days,
> minutes and seconds as components).
> 
> For example, I use the code below to map PostgreSQL interval columns
> directly to dateutil's relativedelta subclass.

How does your code differ from https://pypi.python.org/pypi/psycopg2-dateutils ?

Wichert.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to