Fixed: 'Issues' table shows weird date for 'Start' and 'Due date' columns
git-svn-id: http://redmine.rubyforge.org/svn/trunk@840 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
58b67fa914
commit
7d54215ccb
|
@ -70,7 +70,7 @@ module ApplicationHelper
|
|||
|
||||
def format_date(date)
|
||||
return nil unless date
|
||||
@date_format ||= (Setting.date_format.to_i == 0 ? l(:general_fmt_date) : date.strftime("%Y-%m-%d"))
|
||||
@date_format ||= (Setting.date_format.to_i == 0 ? l(:general_fmt_date) : "%Y-%m-%d")
|
||||
date.strftime(@date_format)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue