added time type

This commit is contained in:
Paul Bailey 2016-11-22 18:08:48 -05:00
parent dddb20a0f4
commit f089c78b99

View File

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