(fix) multiple years in yearly view

This commit is contained in:
Mangesh-Khairnar 2019-01-04 12:07:17 +05:30
parent 53cac1b616
commit 8e47a543f6

View File

@ -235,7 +235,7 @@ class Analytics(object):
}.get(self.filters.range, 1)
self.periodic_daterange = []
for dummy in range(1, 53, increment):
for dummy in range(1, 53):
if self.filters.range == "Weekly":
period_end_date = from_date + relativedelta(days=6)
else: