gpx_parser: Adapt dates evaluation to new pandas version

This commit is contained in:
Thomas Klaehn 2022-02-16 09:37:43 +01:00
parent 7f7c65e3fa
commit e84ab19187

View File

@ -114,6 +114,6 @@ class Tracks(object):
tracks = list()
dates = pd.date_range(start_date.date(), end_date.date())
for track in self.__tracks:
if track.start_time.date() in dates:
if track.start_time.date() in dates.date:
tracks.append(track)
return tracks