def from_string(self, string):
        from . import gpx as mod_gpx
        if not string:
            return None
        if string in 'T':
            string = string.replace('T', ' ')
        if 'Z' in string:
            string = string.replace('Z', '')
        for date_format in mod_gpx.DATE_FORMATS:
            try:
                return mod_datetime.datetime.strptime(string, date_format)
            except ValueError as e:
                pass
        return None
dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/gpxfield.py/TimeConverter.from_string/swapped operands of `in`