On 10 mars 2013, at 20:08, Petite Abeille <petite.abei...@gmail.com> wrote:

> 
> On Mar 10, 2013, at 7:56 PM, Petite Abeille <petite.abei...@gmail.com> wrote:
> 
>> If you are not explicit, the session NLS format is applied, with 
>> unpredictable results.
> 
> For the record, one can always set this explicitly at the session level as 
> well, e.g.:
> 
> alter session set nls_date_format = 'YYYY-MM-DD"T"HH24:MI:SS' or such. Ditto 
> for timestamps.


Django does this already:
https://github.com/django/django/blob/master/django/db/backends/oracle/base.py#L548-L555

-- 
Aymeric.



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


Reply via email to