Edgewall Software
Modify

Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#13418 closed defect (fixed)

Reports don't respect date format preference

Reported by: Ryan J Ollos Owned by: Jun Omae
Priority: normal Milestone: 1.4.4
Component: report system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Respect date relative/absolute format for created and modified columns in report view.

API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

Absolute date for create time is shown for Report {1} even when Relative Datetime preference is set. However, query results respect the datetime format preference.

Attachments (2)

Screen Shot 2021-09-04 at 12.10.16.jpg (298.4 KB ) - added by Ryan J Ollos 3 years ago.
Screen Shot 2021-09-04 at 12.09.53.jpg (168.3 KB ) - added by Ryan J Ollos 3 years ago.

Download all attachments as: .zip

Change History (9)

by Ryan J Ollos, 3 years ago

by Ryan J Ollos, 3 years ago

comment:1 by Ryan J Ollos, 3 years ago

Description: modified (diff)

comment:2 by Jun Omae, 3 years ago

I've added the datetime format prefs feature in [10629] (#9777). However, I haven't changed report module at the time. I don't remember the reason….

comment:3 by Jun Omae, 3 years ago

Owner: set to Jun Omae
Status: newassigned

Proposed changes in [002d772c1/jomae.git] (log:jomae.git@t13418_1.4). absolute_format='datetime' parameter is added to pretty_dateinfo() template function in the changes.

comment:4 by Jun Omae, 3 years ago

I reconsider that we should respect user's preferences for created and modified columns and keep absolute format for time, date and datetime columns in the rendering time columns.

[5c861e681/jomae.git] (log:jomae.git@t13418_1.4_v2)

Column name before the changes after the changes
created date and time (absolute) relative/absolute
modified date and time (absolute) relative/absolute
time time (absolute) time (absolute)
date date (absolute) date (absolute)
datetime date and time (absolute) date and time (absolute)
Last edited 3 years ago by Jun Omae (previous) (diff)

comment:5 by Ryan J Ollos, 3 years ago

The changes look good to me.

comment:6 by Jun Omae, 2 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Thanks for the reviewing. Committed in [17563] and merged in [17564].

comment:7 by Jun Omae, 2 years ago

If no Babel, unit tests failing…. Fixed in [17565] and merged in [17566].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.