diff --git a/analysis/utils/report.py b/analysis/utils/report.py index 960ca2cc..996f87b5 100644 --- a/analysis/utils/report.py +++ b/analysis/utils/report.py @@ -231,8 +231,8 @@ class TimespanReport: intervention__responsible__conservation_office__id=id, intervention__legal__registration_date__gt=LKOMPVZVO_PUBLISH_DATE, deleted=None, - intervention__created__date__timestamp__gte=date_from, - intervention__created__date__timestamp__lte=date_to, + intervention__created__timestamp__date__gte=date_from, + intervention__created__timestamp__date__lte=date_to, ) self.queryset_checked = self.queryset.filter( intervention__checked__isnull=False