Replace yesterday date range with last 3 days
This commit is contained in:
parent
8b167b2c74
commit
a1a083a403
@ -26,9 +26,9 @@ class DateRangeMixin:
|
||||
now = timezone.now()
|
||||
return [
|
||||
{
|
||||
'name': 'Yesterday',
|
||||
'start': now - timezone.timedelta(days=1),
|
||||
'end': now - timezone.timedelta(days=1),
|
||||
'name': 'Last 3 days',
|
||||
'start': now - timezone.timedelta(days=2),
|
||||
'end': now,
|
||||
},
|
||||
{
|
||||
'name': 'Last 30 days',
|
||||
|
Loading…
Reference in New Issue
Block a user