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:
parent
35c17355fb
commit
bf3066d698
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue