Edgewall Software

Opened 3 months ago

Closed 5 weeks ago

Last modified 5 weeks 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 months ago.
Screen Shot 2021-09-04 at 12.09.53.jpg (168.3 KB ) - added by Ryan J Ollos 3 months ago.

Download all attachments as: .zip

Change History (9)

by Ryan J Ollos, 3 months ago

by Ryan J Ollos, 3 months ago

comment:1 by Ryan J Ollos, 3 months ago

Description: modified (diff)

comment:2 by Jun Omae, 3 months 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 months 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 months 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.

[032ada965/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)
Version 0, edited 3 months ago by Jun Omae (next)

comment:5 by Ryan J Ollos, 2 months ago

The changes look good to me.

comment:6 by Jun Omae, 5 weeks 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, 5 weeks ago

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

Modify Ticket

Change Properties
Set your email in Preferences
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.