From 7d54215ccbbbaa356a5207b2dc8841e9d8221d18 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 15 Oct 2007 15:58:53 +0000 Subject: [PATCH] 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 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index ad629408d..0833c43fa 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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