diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-07-14 19:07:35 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-07-14 19:07:35 +0000 |
commit | 4670426e4e6fcfd4df5d78746c023b5e77532b46 (patch) | |
tree | 6d96836759332c05470b3d11fc68ed646f369f0c /app/views/timelog | |
parent | 05c18887038aad62bd1ec2a2b72c35ef05c28a38 (diff) | |
download | redmine-4670426e4e6fcfd4df5d78746c023b5e77532b46.tar.gz redmine-4670426e4e6fcfd4df5d78746c023b5e77532b46.zip |
Hours displayed using %.2f on time report.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@588 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r-- | app/views/timelog/_report_criteria.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/_report_criteria.rhtml b/app/views/timelog/_report_criteria.rhtml index e4f5fa39a..0b7e91cfd 100644 --- a/app/views/timelog/_report_criteria.rhtml +++ b/app/views/timelog/_report_criteria.rhtml @@ -6,7 +6,7 @@ <% hours_for_value = select_hours(hours, criterias[level], value.id) %> <% @periods.each do |period| %> <% sum = sum_hours(select_hours(hours_for_value, @columns, period.to_s)) %> - <td align="center"><%= sum > 0 ? sum : "-" %></td> + <td align="center"><%= sum > 0 ? "%.2f" % sum : "-" %></td> <% end %> </tr> <% if criterias.length > level+1 %> |