Skip to content

Commit

Permalink
Fix/don't reschedule to the past when today is easy day (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock authored Jul 6, 2024
1 parent 776e979 commit 4f1d969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schedule/reschedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def reschedule_background(
fsrs.p_obey_specific_due_dates = p_obey_specific_due_dates(
len(fsrs.easy_specific_due_dates), fsrs.easy_days_review_ratio
)
if len(easy_specific_due_dates) > 0:
if len(easy_specific_due_dates) > 0 or current_date.weekday() in fsrs.easy_days:
fsrs.allow_to_past = False
fsrs.apply_easy_days = apply_easy_days

Expand Down

0 comments on commit 4f1d969

Please sign in to comment.