Re: DATETIME_FORMAT ignored

2007-02-05 Thread Matias
atias > > Sent: 4 February 2007 1:50 PM > > To: Django users > > Subject: DATETIME_FORMAT ignored > > > Hi, > > > Hi, > > > I'm my settings.py I've added the following line: > > > DATETIME_FORMAT = 'j/n/y' > > > and then

RE: DATETIME_FORMAT ignored

2007-02-05 Thread Chris Brand
Try {{ object.pub_date|date }} Chris > -Original Message- > From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of Matias > Sent: 4 February 2007 1:50 PM > To: Django users > Subject: DATETIME_FORMAT ignored > > > Hi, > > Hi, &

DATETIME_FORMAT ignored

2007-02-04 Thread Matias
Hi, Hi, I'm my settings.py I've added the following line: DATETIME_FORMAT = 'j/n/y' and then in my template I print a DateTimeField of an object like this: {{object.pub_date}} But, the format I specified on the settings.py file doesn't seem to have any effect. Also, the DATETIME_FORMAT val