Re: dates postgres django trunk
DOH, I thought I tried changing the DATE_FORMAT and it had no effect. Seems I checked the wrong server when I checked that. Thanks, it does fix it when you compare output on the right server. 8-| -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
Re: dates postgres django trunk
Thank you for your email. This is not a bug in Django, it is the correct output when you set DATE_FORMAT = "%m/%d/%Y". Your desired output will come if you set DATE_FORMAT = 'm/d/Y'. The documentation [1] may not be too clear on what formatting is required, but does give an example which hints at leaving the % signs out. What might be confusing for some is that the documentation for DATE_INPUT_FORMATS directly below it, shows an example with lots of % sign formats. It also seems that the reference to "allowed date format strings" isn't a working link, is that a bug in the documentation? Cheers, Will [1] http://docs.djangoproject.com/en/dev/ref/settings/#date-format -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
dates postgres django trunk
Recently updated to the latest trunk (couple weeks ago now). I think this may be a bug in the current trunk. alist = Table_with_date_column.objects.all() in template: {{ alist.date_field }} renders: %10/%26/%2009 %07/%22/%2009 ... This must have something to do with the settings.py DATE_FORMAT = "%m/%d/%Y" appears to have no effect. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.