Changeset 5bdfbfb in OpenWorkouts-current for ow/views/workout.py
- Timestamp:
- Jan 25, 2019, 12:42:33 AM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- 26220ba, 7783f97
- Parents:
- 421f05f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/views/workout.py
r421f05f r5bdfbfb 1 from decimal import Decimal 1 2 from datetime import datetime, timedelta, time, timezone 2 3 … … 121 122 tzinfo=timezone.utc) 122 123 context.start = start 124 # ensure distance is a decimal 125 context.distance = Decimal(context.distance) 123 126 catalog = get_catalog(context) 124 127 reindex_object(catalog, context)
Note: See TracChangeset
for help on using the changeset viewer.