Re: Django datestyle

2007-06-13 Thread Mario Gonzalez
On 13 jun, 15:35, Mario Gonzalez <[EMAIL PROTECTED]> wrote: > > yes, I tried that too. I tried DATE_FORMAT and DATETIME_FORMAT with. > Currently I've got this in my settings file: > DATETIME_FORMAT = ' d-m-Y ' > > But the result is a ISO style too > arg! I wrote an ungly hack to do that :( da

Re: Django datestyle

2007-06-13 Thread Mario Gonzalez
On 13 jun, 14:16, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > > Have you tried the DATE_FORMAT setting > (http://www.djangoproject.com/documentation/settings/#date-format)?It > doesn't change the representation stored in the DB, but *does* change > how Django displays the date. > yes, I tri

Re: Django datestyle

2007-06-13 Thread Mario Gonzalez
On 13 jun, 12:56, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 6/13/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote: > ... > > > all this thanks to other libraries (mx tools) > > I'm not sure if it'll help, but psycopg2 doesn't rely on mx. Thanks for responding, I tried that but postgresql_psyco

Re: Django datestyle

2007-06-13 Thread Jacob Kaplan-Moss
On 6/13/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote: > I'm getting some problems with style DateTime field because in my > country we don't use ISO style, we use ISO, DMY instead. Have you tried the DATE_FORMAT setting (http://www.djangoproject.com/documentation/settings/#date-format)? It doesn'

Re: Django datestyle

2007-06-13 Thread Jeremy Dunck
On 6/13/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote: ... > all this thanks to other libraries (mx tools) I'm not sure if it'll help, but psycopg2 doesn't rely on mx. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Django datestyle

2007-06-13 Thread Mario Gonzalez
I'm getting some problems with style DateTime field because in my country we don't use ISO style, we use ISO, DMY instead. I've got postgres installed and after activate log_statements it confirmed. Always show up: LOG: statement: SET DATESTYLE TO 'ISO' LOG: statement: BEGIN; SET TRANSACTION