Skip to content

Commit

Permalink
Course: Fix meme credit
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Nov 22, 2024
1 parent d6ce5ca commit 6c3e2fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dojo_plugin/pages/course.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def get_meme_progress(dojo, user_id):
if "start_date" not in dojo.course:
return "Error: unknown course start date"

course_start = datetime.datetime.fromisoformat(dojo.course["start_date"])
def week_string(week):
start = course_start + datetime.timedelta(weeks=week)
end = start + datetime.timedelta(days=6)
Expand Down

0 comments on commit 6c3e2fc

Please sign in to comment.