I suggest the following change to gpxfield.py:
RE_TIMESTAMP = mod_re.compile(
r'^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})T :([0-9]{1,2}):([0-9]{1,2})'
r'(.[0-9]+)?(Z|[+-−][0-9]{2}:?(?:[0-9]{2})?)?$')
I know the remaining decimal(s) wont be used, but it is still better to be able to parse the time.
I have time with 9 decimals, e.g.
I suggest the following change to gpxfield.py: RE_TIMESTAMP = mod_re.compile( r'^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})T :([0-9]{1,2}):([0-9]{1,2})' r'(.[0-9]+)?(Z|[+-−][0-9]{2}:?(?:[0-9]{2})?)?$')
I know the remaining decimal(s) wont be used, but it is still better to be able to parse the time.