Changeset d0fc76b in OpenWorkouts-current for ow/models/workout.py
- Timestamp:
- Jan 25, 2019, 1:49:34 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- 1fe89ea
- Parents:
- 4dcf28d (diff), 26220ba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/models/workout.py
r4dcf28d rd0fc76b 13 13 create_blob, 14 14 mps_to_kmph, 15 save_map_screenshot 15 save_map_screenshot, 16 timedelta_to_hms 16 17 ) 17 18 … … 110 111 111 112 def split_duration(self): 112 hours, remainder = divmod(int(self.duration.total_seconds()), 3600) 113 minutes, seconds = divmod(remainder, 60) 114 return hours, minutes, seconds 113 return timedelta_to_hms(self.duration) 115 114 116 115 @property
Note: See TracChangeset
for help on using the changeset viewer.