#2203: TIME_FORMAT, DATE_FORMAT and DATETIME_FORMAT are ignored
----------------------------------+-----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: reopened | Component: Admin interface
Version: SVN | Resolution:
Keywords: | Stage: Design decision
needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------------+-----------------------------------------
Changes (by mtredinnick):
* stage: Accepted => Design decision needed
Comment:
On one level, we *should* be getting the format from the translation
files, in almost all cases. This is because the developer/designer of the
original presentation is not going to be up to speed on all the subtleties
and traditions of time presentation in all the locales, whereas the
translator will know how times are normally presented in their particular
language (and the translator and designer should be working together on
the tricky cases).
So there is a design problem here: allowing control of time presentation
information via the settings file does not interact well with
localisation. I'm not sure what a solution is to this one yet, since I
only just noticed this ticket. But it's not a clear bug, to my mind, at
the moment. Needs some more thought.
The example of wanting to force time to always be in military time, for
example, is a case where the timezone presentation in each case should be
translated to use the 24-hour presentation. However, that is a separate
issue in any case (since it enters the realm of project-wide translation
files overriding core translations, which is something we cannot handle at
the moment). So let's not have any more discussion of that in this ticket,
please.
--
Ticket URL: <http://code.djangoproject.com/ticket/2203#comment:12>
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
-~----------~----~----~----~------~----~------~--~---