Defect #7639
closed
Some date fields do not have requested format.
Added by Tony Maher about 15 years ago.
Updated almost 15 years ago.
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.
- Status changed from New to Closed
- Resolution set to Fixed
Thanks for the quick resolution.
- Target version set to 1.2.0
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