fix compression
This commit is contained in:
@@ -19,6 +19,9 @@ def _parse_report_dates(from_ts, to_ts, preset):
|
||||
elif preset == "30d":
|
||||
to_ts = now.isoformat()
|
||||
from_ts = (now - timedelta(days=30)).isoformat()
|
||||
elif preset == "90d":
|
||||
to_ts = now.isoformat()
|
||||
from_ts = (now - timedelta(days=90)).isoformat()
|
||||
if from_ts and len(from_ts) == 10:
|
||||
from_ts = from_ts + "T00:00:00"
|
||||
if to_ts and len(to_ts) == 10:
|
||||
|
||||
Reference in New Issue
Block a user