Skip to content

Commit

Permalink
Merge branch 'master' into rc-2021.03.29
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb committed Mar 29, 2021
2 parents 15687a5 + e8e6a3f commit de696c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions koku/api/report/test/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def get_test_data_dates(self, num_days):
if days_of_data < num_days:
extra_days = num_days - days_of_data
prev_month_end = prev_month_end + relativedelta(days=extra_days)
if prev_month_end > self.dh.last_month_end:
prev_month_end = self.dh.last_month_end

return [
(prev_month_start, prev_month_end, self.dh.last_month_start),
Expand Down

0 comments on commit de696c5

Please sign in to comment.