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()
|
now = timezone.now()
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
'name': 'Yesterday',
|
'name': 'Last 3 days',
|
||||||
'start': now - timezone.timedelta(days=1),
|
'start': now - timezone.timedelta(days=2),
|
||||||
'end': now - timezone.timedelta(days=1),
|
'end': now,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'name': 'Last 30 days',
|
'name': 'Last 30 days',
|
||||||
|
Loading…
Reference in New Issue
Block a user