Commit 2ca4a73b authored by Francesco Poldi's avatar Francesco Poldi

Update workaround #597

parent 26769a33
......@@ -14,7 +14,7 @@ def _sanitizeQuery(base,params):
def _formatDate(date):
if "win" in platform:
return f'\"{date}\"'
return f'\"{date.split()[0]}\"'
try:
return datetime.datetime.strptime(date, "%Y-%m-%d %H:%M:%S").timestamp()
except ValueError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment