Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#12564 closed (fixed)

i18n format for admin object history view entries timestamps

Reported by: ramiro Owned by: jezdez
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: UI/UX:


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

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by ramiro

comment:1 Changed 7 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Version changed from 1.1 to SVN

comment:2 Changed 7 years ago by anonymous

  • milestone set to 1.2
  • Owner changed from nobody to anonymous
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 7 years ago by jezdez

  • Owner changed from anonymous to jezdez
  • Status changed from assigned to new

Oops, that was me.

comment:4 Changed 7 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:5 Changed 5 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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