From bf3066d6986e814538bb2ec59ba9b916a7b7f6ba Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 15 Jan 2008 18:30:21 +0000 Subject: [PATCH] Fixed: Date custom fields not displayed as specified in application settings. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1066 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/custom_fields_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index b1b176107..25389ca63 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -62,7 +62,7 @@ module CustomFieldsHelper return "" unless value && !value.empty? case field_format when "date" - begin; l_date(value.to_date); rescue; value end + begin; format_date(value.to_date); rescue; value end when "bool" l_YesNo(value == "1") else -- 2.39.5