diff --git a/gpx2html/__init__.py b/gpx2html/__init__.py index 402e92f..8f865ec 100755 --- a/gpx2html/__init__.py +++ b/gpx2html/__init__.py @@ -199,7 +199,7 @@ class Gpx2Html(object): end_date = datetime.datetime.today() - start_date = end_date - datetime.timedelta(days=14) + start_date = end_date - datetime.timedelta(days=13) # last 14 days last_n_tracks = self.tracks.tracks(start_date, end_date) last_n_distances = dict() last_n_durations = dict()