Commit 2b3f3d9e authored by ale's avatar ale

fix parse_timespec to accept standard UNIX timestamps

parent 2589ab73
......@@ -36,7 +36,6 @@ def parse_timespec(s):
spec *= sfx_to_sec[]
return _now() - timedelta(0, spec)
spec /= 1000000.0
return datetime.utcfromtimestamp(spec)
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