def to_python(self, value):
        if isinstance(value, basestring):
            try:
                return parse_date_string(value, self.precise_reads)
            except __HOLE__, e:
                raise ValueError('Invalid ISO date/time %r [%s]' %
                        (value, str(e)))
        return value
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/couchexport/properties.py/TimeStampProperty.to_python