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:
Jean-Philippe Lang 2007-10-15 15:58:53 +00:00
parent 58b67fa914
commit 7d54215ccb
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ module ApplicationHelper
def format_date(date) def format_date(date)
return nil unless 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) date.strftime(@date_format)
end end