add time query test

This commit is contained in:
Paul Bailey 2016-11-23 11:14:49 -05:00
parent 48b422e289
commit ad83a7e076

View File

@ -61,5 +61,5 @@ class Time(Scalar):
@classmethod
def parse_value(cls, value):
dt = iso8601.parse_date('{}T{}'.format(cls.epoch_time, value))
dt = iso8601.parse_date('{}T{}'.format(cls.epoch_date, value))
return datetime.time(dt.hour, dt.minute, dt.second, dt.microsecond, dt.tzinfo)