Skip to content

Commit

Permalink
Adjust GPX time metadata on adjust_time (closes #49)
Browse files Browse the repository at this point in the history
  • Loading branch information
JavaJens committed Nov 4, 2015
1 parent 2e3099e commit db46611
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gpxpy/gpx.py
Expand Up @@ -1994,6 +1994,7 @@ def adjust_time(self, delta):
Positive time delta will adjust times into the future
Negative time delta will adjust times into the past
"""
self.time += delta
for track in self.tracks:
track.adjust_time(delta)

Expand Down

0 comments on commit db46611

Please sign in to comment.