fix compression

This commit is contained in:
2026-03-10 14:38:51 +00:00
parent 3ffaf0cc4d
commit 7635caa71d
6 changed files with 182 additions and 27 deletions

View File

@@ -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: