]> source.dussan.org Git - redmine.git/commitdiff
Fixed: Date custom fields not displayed as specified in application settings.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 15 Jan 2008 18:30:21 +0000 (18:30 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 15 Jan 2008 18:30:21 +0000 (18:30 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1066 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/custom_fields_helper.rb

index b1b176107b6a36d20eb29a703399d862b23e43eb..25389ca637432ed31e05c74168383a8a7deb3328 100644 (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