Fix dates in the new year

This commit is contained in:
R. Miles McCain 2021-12-31 23:44:48 -05:00
parent aed88b7c9a
commit 4b4c8f207e

View File

@ -45,11 +45,6 @@ class DateRangeMixin:
"start": now.replace(day=1),
"end": now,
},
{
"name": "Last month",
"start": now.replace(day=1, month=now.month - 1),
"end": now.replace(day=1, month=now.month) - timezone.timedelta(days=1),
},
{
"name": "This year",
"start": now.replace(day=1, month=1),