Merge branch 'master' into feature/widgets

pull/6827/head
Konstantin Haase 14 years ago
commit dc60bead6a
  1. 2
      lib/report/operator.rb

@ -43,7 +43,7 @@ class Report::Operator
1 # assume mondays 1 # assume mondays
end end
from = Time.now.utc.at_beginning_of_week + (first_day % 7) - 1).days from = Time.now.utc.at_beginning_of_week + ((first_day % 7) - 1).days
from -= offset.days from -= offset.days
'<>d'.to_operator.modify query, field, from, from + 7.days '<>d'.to_operator.modify query, field, from, from + 7.days
end end

Loading…
Cancel
Save