diff --git a/gpx_parser/__init__.py b/gpx_parser/__init__.py index e0f9a99..fb8c164 100644 --- a/gpx_parser/__init__.py +++ b/gpx_parser/__init__.py @@ -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