Skip to content

Commit ad83a7e

Browse files
committed
add time query test
1 parent 48b422e commit ad83a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene/types/datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ def parse_literal(cls, node):
6161

6262
@classmethod
6363
def parse_value(cls, value):
64-
dt = iso8601.parse_date('{}T{}'.format(cls.epoch_time, value))
64+
dt = iso8601.parse_date('{}T{}'.format(cls.epoch_date, value))
6565
return datetime.time(dt.hour, dt.minute, dt.second, dt.microsecond, dt.tzinfo)

0 commit comments

Comments
 (0)