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
This commit is contained in:
Jean-Philippe Lang 2008-01-15 18:30:21 +00:00
parent 35c17355fb
commit bf3066d698
1 changed files with 1 additions and 1 deletions

View File

@ -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