Skip to content

Commit

Permalink
Merge branch 'hotfix/24.11.4' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mfraezz committed Jan 7, 2025
2 parents 11b818f + d053a62 commit f44b5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osf_tests/metrics/test_monthly_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test_with_last_month(self, osfid, this_month_report, last_month_report, two_

def _prior_yearmonth(ym: YearMonth) -> YearMonth:
return (
YearMonth(ym.year - 1, 1)
YearMonth(ym.year - 1, 12)
if ym.month == 1
else YearMonth(ym.year, ym.month - 1)
)
Expand Down

0 comments on commit f44b5ce

Please sign in to comment.