summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/postrunner/MonitoringStatistics.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postrunner/MonitoringStatistics.rb b/lib/postrunner/MonitoringStatistics.rb
index ab1761c..dae7658 100644
--- a/lib/postrunner/MonitoringStatistics.rb
+++ b/lib/postrunner/MonitoringStatistics.rb
@@ -354,7 +354,7 @@ module PostRunner
ma.intensity_minutes[:moderate_minutes] +
2 * ma.intensity_minutes[:vigorous_minutes]
- break if current_date.wday == @first_day_of_week
+ break if date.wday == @first_day_of_week
end
end