Skip to content

Commit

Permalink
Fix dates in the new year
Browse files Browse the repository at this point in the history
  • Loading branch information
milesmcc committed Jan 1, 2022
1 parent aed88b7 commit 4b4c8f2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions shynet/dashboard/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ def get_date_ranges(self):
"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),
Expand Down

0 comments on commit 4b4c8f2

Please sign in to comment.