From e84ab19187affef8e705e2251374c4eca168add1 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Wed, 16 Feb 2022 09:37:43 +0100 Subject: [PATCH] gpx_parser: Adapt dates evaluation to new pandas version --- gpx_parser/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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