diff options
author | Chris Schlaeger <chris@linux.com> | 2016-05-20 20:18:18 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2016-05-20 20:18:18 +0200 |
commit | 9d4a7ce30b3ea2d822aebc25f5abd1b3f6c966b7 (patch) | |
tree | 1322b23d049a907ab5d9c75da4de3db5c94e1cd9 | |
parent | ac1136bff3968e417a15dd5a99b608ef20cd6f8e (diff) | |
download | postrunner-9d4a7ce30b3ea2d822aebc25f5abd1b3f6c966b7.zip |
Yet another fix for intensity minute calculation.
-rw-r--r-- | lib/postrunner/MonitoringStatistics.rb | 2 |
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 |