                      pass
                  else:
                      return parsed.date()
  
          date_input_formats = '; '.join(self.input_formats).replace(ISO8601, 'YYYY-MM-DD')
          msg = self.error_messages['invalid'] % get_readable_date_format(date_input_formats)
          raise ValidationError(msg)
  
      def to_native(self, value):
          if isinstance(value, datetime.datetime):
              value = value.date()
 
</s> remove         time_input_formats = '; '.join(self.input_formats).replace(ISO8601, 'HH:MM[:ss[.uuuuuu]]')
        msg = self.error_messages['invalid'] % get_readable_date_format(time_input_formats)
 </s> add         msg = self.error_messages['invalid'] % readable_time_formats(self.input_formats) </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: </s> remove         return value.strftime(self.output_format)
 </s> add         return value.strftime(self.format)
        msg = self.error_messages['invalid'] % readable_date_formats(self.input_formats)
                      pass
                  else:
                      return parsed.date()
  
        msg = self.error_messages['invalid'] % readable_date_formats(self.input_formats)
        msg = self.error_messages['invalid'] % readable_date_formats(self.input_formats)
          raise ValidationError(msg)
  
      def to_native(self, value):
          if isinstance(value, datetime.datetime):
              value = value.date()
keep keep keep keep replace replace keep keep keep keep keep
 Clean ups to datetime formatting 
rest_framework/fields.py