Skip to content

Commit

Permalink
another change
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Jul 24, 2024
1 parent 99acc05 commit a077889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybliotecario/components/arxiv_mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _is_last_cutoff(time_to_test, base_hour=18):

cut_wday = cutoff_time.weekday()
wday = (min(cut_wday, 4) - 2) % 5
move_days = abs(cut_wday - wday)
move_days = (cut_wday - wday) % 7
last_cutoff = cutoff_time - timedelta(days=move_days)

return time_to_test >= last_cutoff
Expand Down

0 comments on commit a077889

Please sign in to comment.