Skip to content

Commit

Permalink
Merge pull request #283 from vplan-fr/main
Browse files Browse the repository at this point in the history
test fix weeks maybe???
  • Loading branch information
Belissimo-T authored Mar 12, 2024
2 parents a3e361e + 56b7bcd commit ca926be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/vplan_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def get_future_week(holidays: list[datetime.date], weeks: int, ref_date: datetim
assert date > ref_date

curr_week_i = ref_week
any_days_in_last_week = False
any_days_in_last_week = True
last_week_monday = ref_date - datetime.timedelta(days=ref_date.weekday())

curr_date = ref_date.replace()
Expand Down

0 comments on commit ca926be

Please sign in to comment.