Commit bf3066d6 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

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
parent 35c17355
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment