diff --git a/app.py b/app.py index 5829298..bee7c23 100644 --- a/app.py +++ b/app.py @@ -378,9 +378,14 @@ def render_users_and_workouts(): for workout in [get_workout_for_date(monthly_workouts, single_date)] ] + next_month_date = current_date + relativedelta(months=1) + previous_month_date = current_date - relativedelta(months=1) + calendar_month = { 'month_year': current_date.strftime('%B, %Y'), - 'days_of_month': days_of_month + 'days_of_month': days_of_month, + 'next_month': next_month_date, + 'previous_month': previous_month_date, } user_data = {