Skip to content

Commit

Permalink
Merge a3fcc1f into c2ae5b0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanj committed Sep 1, 2017
2 parents c2ae5b0 + a3fcc1f commit 45a7c2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eliottree/filter.py
@@ -1,7 +1,7 @@
from datetime import datetime

import jmespath
from iso8601.iso8601 import Utc
from iso8601.iso8601 import UTC


def filter_by_jmespath(query):
Expand All @@ -25,7 +25,7 @@ def _parse_timestamp(timestamp):
"""
Parse a timestamp into a UTC L{datetime}.
"""
return datetime.utcfromtimestamp(timestamp).replace(tzinfo=Utc())
return datetime.utcfromtimestamp(timestamp).replace(tzinfo=UTC)


def filter_by_start_date(start_date):
Expand Down

0 comments on commit 45a7c2b

Please sign in to comment.