Opened 15 years ago

Closed 15 years ago

Last modified 13 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: dev
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

Description

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 15 years ago.

Download all attachments as: .zip

Change History (6)

by Ramiro Morales, 15 years ago

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

comment:1 by Ramiro Morales, 15 years ago

Version: 1.1SVN

comment:2 by anonymous, 15 years ago

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

comment:3 by Jannis Leidel, 15 years ago

Owner: changed from anonymous to Jannis Leidel
Status: assignednew

Oops, that was me.

comment:4 by Jannis Leidel, 15 years ago

Resolution: fixed
Status: newclosed

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

comment:5 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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