Merge pull request #312 from mikhuang/patch-1

Update datetime.py
This commit is contained in:
Syrus Akbary 2016-10-03 20:31:00 -07:00 committed by GitHub
commit 95280e4f7c

View File

@ -36,4 +36,4 @@ class DateTime(Scalar):
@staticmethod
def parse_value(value):
return datetime.datetime.strptime(value, "%Y-%m-%dT%H:%M:%S.%f")
return iso8601.parse_date(value)