mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 04:07:16 +03:00
commit
95280e4f7c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user