After successfully adding workout and confirming prompt user is redirected back to overview page

This commit is contained in:
Peter Stockings
2023-03-10 22:54:44 +11:00
parent 2c3fefdb89
commit 1a1417920a
2 changed files with 2 additions and 2 deletions

2
app.py
View File

@@ -204,7 +204,7 @@ def get_workouts_for_user(user_id):
workouts_data.append({
'id': workout.id,
'user_id': user_id,
'start_time': format_date_with_ordinal(start_time, '%H:%M %B %dth %Y'),
'start_time': format_date_with_ordinal(start_time, '%#H:%M %B %dth %Y'),
'duration': format_duration(duration),
'average_rpm': int(average_rpm)
})