Remove timespan filter.

This commit is contained in:
DANY ROBERT 2021-02-02 19:20:25 +05:30 committed by GitHub
parent da7b930e53
commit 42836a2ec8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,7 +131,7 @@ def calculate_previous_result(doc, filters):
previous_date = add_to_date(current_date, months=-1)
else:
previous_date = add_to_date(current_date, years=-1)
number = get_result(doc, filters, previous_date)
return number