Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 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:

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

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by ramiro

comment:1 Changed 4 years ago by ramiro

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

comment:2 Changed 4 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 4 years ago by jezdez

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

Oops, that was me.

comment:4 Changed 4 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 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.