diff --git a/felt/test/test_recent_projects_model.py b/felt/test/test_recent_projects_model.py index b2119b8..13e9109 100644 --- a/felt/test/test_recent_projects_model.py +++ b/felt/test/test_recent_projects_model.py @@ -51,7 +51,7 @@ def test_pretty_date(self): self.assertEqual(model.pretty_format_date(two_weeks_ago), "2 weeks ago") - one_month_ago = now.addMonths(-1) + one_month_ago = now.addDays(-35) self.assertEqual(model.pretty_format_date(one_month_ago), "1 month ago")