Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#12564 closed (fixed)

i18n format for admin object history view entries timestamps

Reported by: Ramiro Morales Owned by: Jannis Leidel
Component: Internationalization Version: master
Severity: Keywords: object history date time timestamp LogEntry
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


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.

Attachments (1)

admin-history-dt-fmt.diff (691 bytes) - added by Ramiro Morales 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by Ramiro Morales

Attachment: admin-history-dt-fmt.diff added

comment:1 Changed 11 years ago by Ramiro Morales

Version: 1.1SVN

comment:2 Changed 11 years ago by anonymous

milestone: 1.2
Owner: changed from nobody to anonymous
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:3 Changed 11 years ago by Jannis Leidel

Owner: changed from anonymous to Jannis Leidel
Status: assignednew

Oops, that was me.

comment:4 Changed 11 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

(In [12280]) Fixed #12564 - Use locale-aware date format in admin object history overview

comment:5 Changed 9 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top