diff --git a/app/views/my/blocks/_timelog.html.erb b/app/views/my/blocks/_timelog.html.erb index 5b8820c19..dd962eae4 100644 --- a/app/views/my/blocks/_timelog.html.erb +++ b/app/views/my/blocks/_timelog.html.erb @@ -46,7 +46,7 @@ entries_by_day = entries.group_by(&:spent_on) <%= day == User.current.today ? l(:label_today).titleize : format_date(day) %> - <%= html_hours(l_hours_short(entries_by_day[day].sum(&:hours))) %> + <%= html_hours(format_hours(entries_by_day[day].sum(&:hours))) %> <% entries_by_day[day].each do |entry| -%> @@ -56,7 +56,7 @@ entries_by_day = entries.group_by(&:spent_on) <%= entry.project %> <%= h(' - ') + link_to_issue(entry.issue, :truncate => 50) if entry.issue %> <%= entry.comments %> - <%= html_hours(l_hours_short(entry.hours)) %> + <%= html_hours(format_hours(entry.hours)) %> <% end -%> <% end -%>