#3556: date & time filters use settings.DATE_FORMAT & settings.TIME_FORMAT, should use i18n -------------------------------------+-------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: adrian Status: new | Component: Template system Version: SVN | Keywords: date time i18n Stage: Unreviewed | Has_patch: 1 -------------------------------------+-------------------------------------- In django/template/defaultfilters.py, date and time functions (filters) both use a specific setting for their default value. I think this is wrong, at least what the default value specifies, because when i18n is loaded, it's impossible to change what these output without giving an argument to the filters. Supplied patch makes both filters use whatever DATE_FORMAT and TIME_FORMAT translate into, which I think seems to be the correct value, as it changes depending on user preference.
-- Ticket URL: <http://code.djangoproject.com/ticket/3556> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
