summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-15 18:30:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-15 18:30:21 +0000
commitbf3066d6986e814538bb2ec59ba9b916a7b7f6ba (patch)
treee05b85eb4d55b9517691ec1dfa70c3d4799cb3a9
parent35c17355fbc66a55c40f846282f955b849da1f10 (diff)
downloadredmine-bf3066d6986e814538bb2ec59ba9b916a7b7f6ba.tar.gz
redmine-bf3066d6986e814538bb2ec59ba9b916a7b7f6ba.zip
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
-rw-r--r--app/helpers/custom_fields_helper.rb2
1 files changed, 1 insertions, 1 deletions
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