Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

Commit

Permalink
on the project/day page, do not round total time
Browse files Browse the repository at this point in the history
  • Loading branch information
rwilcox authored and elia committed Sep 20, 2010
1 parent 58040e4 commit 13a9c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/project_day.haml
Expand Up @@ -6,7 +6,7 @@
%h2
Project:
%b= @project.name.humanize
%span.tip (#{@project.work_time.to_i / 1.hours} hours)
%span.tip (#{"%.2f" % (@project.work_time.to_i / 1.hours.to_f).to_s} hours)
%h2
Detailed View For:
%b=( this_year != @current_day.year ? @current_day.strftime("%Y %b %d, %a") : @current_day.strftime("%b %d, %a") )
Expand Down

0 comments on commit 13a9c75

Please sign in to comment.