Fix: Corrected number of last 14 days
This commit is contained in:
parent
9761814f6f
commit
5d88a026cd
@ -199,7 +199,7 @@ class Gpx2Html(object):
|
|||||||
|
|
||||||
|
|
||||||
end_date = datetime.datetime.today()
|
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_tracks = self.tracks.tracks(start_date, end_date)
|
||||||
last_n_distances = dict()
|
last_n_distances = dict()
|
||||||
last_n_durations = dict()
|
last_n_durations = dict()
|
||||||
|
Loading…
Reference in New Issue
Block a user