summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-30 08:56:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-30 08:56:19 +0000
commitf29aa17f1b4e87ab5c5df0a04dff39a61322425d (patch)
treef4a018a222eb4b3b4fc38e9085032e68c4a9324c /lib/redmine
parent202fe0b86b0f50bcdb2b7985ae8d67b2f8c0a54c (diff)
downloadredmine-f29aa17f1b4e87ab5c5df0a04dff39a61322425d.tar.gz
redmine-f29aa17f1b4e87ab5c5df0a04dff39a61322425d.zip
Fixed that #l_hours_short shows 2 h (#21069).
git-svn-id: http://svn.redmine.org/redmine/trunk@14766 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r--lib/redmine/i18n.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/i18n.rb b/lib/redmine/i18n.rb
index e88e407b9..9523f2313 100644
--- a/lib/redmine/i18n.rb
+++ b/lib/redmine/i18n.rb
@@ -49,7 +49,7 @@ module Redmine
end
def l_hours_short(hours)
- l(:label_f_hour_short, :value => ("%.2f h" % hours.to_f))
+ l(:label_f_hour_short, :value => ("%.2f" % hours.to_f))
end
def ll(lang, str, arg=nil)