gpx_parser: Adapt dates evaluation to new pandas version
This commit is contained in:
parent
7f7c65e3fa
commit
e84ab19187
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user