#12564: i18n format for admin object history view entries timestamps
---------------------------------------------------------+------------------
Reporter: ramiro | Owner: nobody
Status: new | Milestone:
Component: Internationalization | Version: 1.1
Keywords: object history date time timestamp LogEntry | Stage:
Unreviewed
Has_patch: 1 |
---------------------------------------------------------+------------------
The object history can use the new locale aware formatting infrastructure
to show localized timestamps in the "Date/time" column of the object
history log.
I was tempted to convert this to show entries' date+time (maybe with
`|date:"DATETIME_FORMAT"` or `|date:"SHORT_DATETIME_FORMAT"`) instead of
simply the date because it would take advantage of the precision available
in the stored data (e.g. "Jan. 9, 2010" v. "Jan. 9, 2010, 2:52 p.m." or
"01/09/2010 2:52 p.m.") and would IMHO be more helpful for objects that
are edited more than once in a day, but chose to maintain backward
compatibility (and it's out of the scope of this ticket) and better leave
the decision to the committer if this finally gets in.
--
Ticket URL: <http://code.djangoproject.com/ticket/12564>
Django <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.