Split fractional hours in hours and minutes

pull/6827/head
Hagen Schink 10 years ago
parent 1914e5fdf4
commit 348c01dc0c
  1. 2
      lib/open_project/costs/engine.rb

@ -147,7 +147,7 @@ module OpenProject::Costs
end
send(:define_method, :spent_hours) do
self.attributes_helper.time_entries_sum
Duration.new(hours_and_minutes(self.attributes_helper.time_entries_sum)).iso8601
end
send(:define_method, :current_user_allowed_to_view_spent_hours) do

Loading…
Cancel
Save