Skip to content

Commit

Permalink
feat: Fix habit calendars to Monday
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonee committed Sep 28, 2024
1 parent c8cb043 commit 8e82902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/apps/tree/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,8 @@ def _habit_calendar(habit, start, end):


def habit_calendar(habit, start, end):
start = adjust_start_date_to_monday(start)

return itemize(
date_range_generator(start, end),
_habit_calendar(habit, start, end),
Expand Down

0 comments on commit 8e82902

Please sign in to comment.