Commit 188e521e authored by minamotorin's avatar minamotorin Committed by GitHub
parent e6136437
......@@ -17,8 +17,9 @@ def _sanitizeQuery(_url, params):
def _formatDate(date):
if "win" in platform:
return f'\"{date.split()[0]}\"'
if "wind" in platform:
#return f'\"{date.split()[0]}\"'
date = date.split()[0]
try:
return int(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