          if isinstance(value, datetime.time):
              return value
  
          for format in self.input_formats:
              if format.lower() == ISO8601:
                  try:
                      parsed = parse_time(value)
                  except (ValueError, TypeError):
                      pass
                  else:
 
</s> remove             if format.lower() == ISO8601:
 </s> add             if format.lower() == ISO_8601: </s> remove             if format.lower() == ISO8601:
 </s> add             if format.lower() == ISO_8601: </s> remove         datetime_input_formats = '; '.join(self.input_formats).replace(ISO8601, 'YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]')
        msg = self.error_messages['invalid'] % get_readable_date_format(datetime_input_formats)
 </s> add         msg = self.error_messages['invalid'] % readable_datetime_formats(self.input_formats) </s> remove         if self.output_format.lower() == ISO8601:
 </s> add         if self.format.lower() == ISO_8601: </s> remove         if self.output_format.lower() == ISO8601:
 </s> add         if self.format.lower() == ISO_8601:
            if format.lower() == ISO_8601:
          if isinstance(value, datetime.time):
              return value
  
          for format in self.input_formats:
            if format.lower() == ISO_8601:
                  try:
                      parsed = parse_time(value)
                  except (ValueError, TypeError):
                      pass
                  else:
keep keep keep keep replace keep keep keep keep keep
 Clean ups to datetime formatting 
rest_framework/fields.py