(fix) multiple years in yearly view
This commit is contained in:
parent
53cac1b616
commit
8e47a543f6
@ -235,7 +235,7 @@ class Analytics(object):
|
|||||||
}.get(self.filters.range, 1)
|
}.get(self.filters.range, 1)
|
||||||
|
|
||||||
self.periodic_daterange = []
|
self.periodic_daterange = []
|
||||||
for dummy in range(1, 53, increment):
|
for dummy in range(1, 53):
|
||||||
if self.filters.range == "Weekly":
|
if self.filters.range == "Weekly":
|
||||||
period_end_date = from_date + relativedelta(days=6)
|
period_end_date = from_date + relativedelta(days=6)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user