Open samimussbach opened 11 years ago
Something seems to be strange on my installation. Anyhow, for reference: I had to change hours_controller.rb line 96 to
@daily_totals[day.to_s(:param_date)] = TimeEntry.for_user(@user).spent_on(day.to_s(:param_date)).map(&:hours).inject(:+)
from spent_on(day) to spent_on(day.to_s(:param_date)), otherwise the totals were not calculated
Something seems to be strange on my installation. Anyhow, for reference: I had to change hours_controller.rb line 96 to
from spent_on(day) to spent_on(day.to_s(:param_date)), otherwise the totals were not calculated