Re: Using DATE_FORMAT in django 1.2

2010-06-06 Thread Karen Tracey
On Sun, Jun 6, 2010 at 9:57 AM, Tomas Zulberti wrote: > On Jun 5, 8:11 pm, Karen Tracey wrote: > > On Sat, Jun 5, 2010 at 6:17 PM, Tomas Zulberti > wrote: > > > So my question is: is this a bug, or I am doing something wrong (I am > > > sure I might be doing something grong but I don't know whe

Re: Using DATE_FORMAT in django 1.2

2010-06-06 Thread Tomas Zulberti
On Jun 5, 8:11 pm, Karen Tracey wrote: > On Sat, Jun 5, 2010 at 6:17 PM, Tomas Zulberti wrote: > > So my question is: is this a bug, or I am doing something wrong (I am > > sure I might be doing something grong but I don't know where). > > I ran into the same behavior this afternoon. I think it

Re: Using DATE_FORMAT in django 1.2

2010-06-05 Thread Karen Tracey
On Sat, Jun 5, 2010 at 6:17 PM, Tomas Zulberti wrote: > So my question is: is this a bug, or I am doing something wrong (I am > sure I might be doing something grong but I don't know where). > I ran into the same behavior this afternoon. I think it is a bug: http://code.djangoproject.com/ticket/

Using DATE_FORMAT in django 1.2

2010-06-05 Thread Tomas Zulberti
Hi. I have the following values in the settings.py: USE_L10N = True DATETIME_FORMAT = '%d/%m/%Y' When the date is printed it prints: "Nov. 24, 1983". The date is: datetime.date(1983, 11, 24). As far as I was able to follow the code, in the django/utils/ formats.py, the it uses the the get_format f