Defect #7639

Some date fields do not have requested format.

Added by Tony Maher almost 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:2011-02-17
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:1.2.0
Resolution:Fixed Affected version:1.1.0

Description

As project administrator - set the date format to 17/02/2011 i.e. 17 February 2011.

  • In Issues tabs (as normal user) the "Updated" field shows dates with format 02/17/2011.
  • As admin user checking the Users - the creation date also shows dates as 04/28/2010

In Issues tab if displaying the start date and due date then they are in the correct format.


Related issues

Duplicates Redmine - Defect #5378: Modified column in Issues view does not obey date format ... Closed 2010-04-23

Associated revisions

Revision 4894
Added by Jean-Philippe Lang over 6 years ago

Fixed: date part of the time default format doesn't respect the date format (#7639).

History

#1 Updated by Jean-Philippe Lang over 6 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed in r4894.

#2 Updated by Tony Maher over 6 years ago

Thanks for the quick resolution.

#3 Updated by Etienne Massip over 6 years ago

  • Target version set to 1.2.0

#4 Updated by Max Khon over 6 years ago

The fix also fixes more serious problem: format_date(time) was called before this patch instead of format_date(local). This leads to incorrect displaying of dates (e.g. when timezone is specified or time is in UTC).

E.g. if the timestamp is 14 Apr 03:40am GMT+7 and user timezone is set to UTC, 14 Apr 20:40pm instead of 13 Apr 20:40pm is displayed.

Should there be a backport to 1.1 branch?

Also available in: Atom PDF