How to get ISO date format in admin interface

2010-10-28 Thread Svenn Are Bjerkem
Hi, I want to have ISO date format -MM-DD in the columns in the admin interface. Currently I have localized dates depending on the LANGUAGE_CODE setting. I have tried to set DATE_FORMAT = 'Y-m-d' in my settings.py and even tried it in the global_settings.py, but I have got the understanding tha

Re: Change date format in admin

2008-11-11 Thread Thomas Guettler
Alex Rades schrieb: > Hi, > Is there a way to do it? Here in europe we really use DD-MM- > > Thank you > > AFAIK you can't change the date format which is used for input fields in the admin interface. Sad but true, settings.DATE_FORMAT is even ignored if you use date objects (datetime.date

Re: Change date format in admin

2008-11-11 Thread Ronny Haryanto
On Tue, Nov 11, 2008 at 4:20 PM, Alex Rades <[EMAIL PROTECTED]> wrote: > Is there a way to do it? Here in europe we really use DD-MM- Yes. Look for DATE_FORMAT in: http://docs.djangoproject.com/en/dev/ref/settings/ See also http://code.djangoproject.com/ticket/2203 if you have USE_I18N = Tr

Change date format in admin

2008-11-11 Thread Alex Rades
Hi, Is there a way to do it? Here in europe we really use DD-MM- Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com

Re: Date Format in Admin

2008-10-25 Thread Botolph
> http://docs.djangoproject.com/en/dev/ref/settings/#date-format > > I would like to change the formatting of dates in the admin from - > > MM-DD to DD-MM-. I have set "DATE_FORMAT" in the settings file, > > but that only changes list_display and not the DateField input. As I said, that

Re: Date Format in Admin

2008-10-24 Thread Matias Surdi
http://docs.djangoproject.com/en/dev/ref/settings/#date-format Botolph escribió: > I would like to change the formatting of dates in the admin from - > MM-DD to DD-MM-. I have set "DATE_FORMAT" in the settings file, > but that only changes list_display and not the DateField input. In a >

Date Format in Admin

2008-10-23 Thread Botolph
I would like to change the formatting of dates in the admin from - MM-DD to DD-MM-. I have set "DATE_FORMAT" in the settings file, but that only changes list_display and not the DateField input. In a post from Januar 2007 Adrian wrote: > Yes, newforms DateFields let you specify the input

Re: Date format in admin interface

2006-03-16 Thread Adrian Holovaty
On 3/16/06, yuri <[EMAIL PROTECTED]> wrote: > yip, I found those and played around with them, but they only change > the display format, i.e. say in the "list objects" view. However, they > don't alter the "create object" view, i.e., the date entry part. For > example, the calendar widget in the a

Re: Date format in admin interface

2006-03-16 Thread yuri
Hi Adrian, yip, I found those and played around with them, but they only change the display format, i.e. say in the "list objects" view. However, they don't alter the "create object" view, i.e., the date entry part. For example, the calendar widget in the admin men is still entering dates in the

Re: Date format in admin interface

2006-03-15 Thread Nebojša Đorđević
yuri wrote: > Hello, > > is it possible to change the date format in the admin interface to the > european version, i.e. dd-mm-, or any other format, for that > matter? I have no problem formatting it whichever way in the views, but > haven't figured out an easy way to do this in the admin. I

Re: Date format in admin interface

2006-03-15 Thread Adrian Holovaty
On 3/15/06, yuri <[EMAIL PROTECTED]> wrote: > is it possible to change the date format in the admin interface to the > european version, i.e. dd-mm-, or any other format, for that > matter? I have no problem formatting it whichever way in the views, but > haven't figured out an easy way to do

Re: Date format in admin interface

2006-03-15 Thread Waylan Limberg
There are some date format variables in the setting file. Although I haven't played with them personally, I understand them to be the defaults when no format is provided in the views/templates. I'm guessing that the admin uses them so try changing to your preferred format there. On 3/15/06, yuri

Date format in admin interface

2006-03-15 Thread yuri
Hello, is it possible to change the date format in the admin interface to the european version, i.e. dd-mm-, or any other format, for that matter? I have no problem formatting it whichever way in the views, but haven't figured out an easy way to do this in the admin. Is there some setting I c