def native_(s, encoding='latin-1', errors='strict'):
        if isinstance(s, text_type):
            return s.encode(encoding, errors)
        return str(s)
Converts ISO 8601 timestamp to datetime object.
dataset/ETHPy150Open saltstack/salt/salt/_compat.py/native_--crossover with--dataset/ETHPy150Open Kloudless/kloudless-python/kloudless/util.py/to_datetime