Skip to content

Commit

Permalink
Add support for millisecond timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Ju committed Aug 6, 2015
1 parent 02ffc84 commit 9f472fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflow/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def parse_query_value(query_str):
else:
# Parse datetime string or timestamp
try:
if query_str.isdigit() and len(query_str) == 13:
query_str = query_str[:10] + '.' + query_str[10:]
d = epoch(float(query_str))
except ValueError:
d = parse(str(query_str))
Expand Down

0 comments on commit 9f472fa

Please sign in to comment.