Hi Anssi,

On 22 févr. 2012, at 22:16, Anssi Kääriäinen wrote:

> There was some short discussion in ticket #17728 about doing timezone
> conversions for aware datetimes using cursor adapters. The design
> decision was that it should not be done because conversions are
> already done by field classes, and thus the ORM should not pass aware
> datetimes into cursors.

To be honest, it was more a quick assessment of the current code, which didn't 
seem wrong to me, than a real "design decision".

> I disagree because raw SQL users will get
> wrong results. Field conversions do not help when using raw SQL.

That's right. I hadn't thought of that use case.

Could you turn your email into a Trac ticket?

Thanks for your detailed description of the problem!

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to