Skip to content

Commit

Permalink
chore: temporarily set notification on Saturday
Browse files Browse the repository at this point in the history
  • Loading branch information
dantetemplar committed Sep 28, 2024
1 parent 3037357 commit b68911d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def receptionist_notifications_loop():
settings.bot_settings.notification_time.minute,
tzinfo=pytz.UTC,
)
days_until_monday = (7 - current_date.weekday()) % 7
days_until_monday = (5 - current_date.weekday()) % 7
planned_date += datetime.timedelta(days=days_until_monday)
if planned_date < current_date:
planned_date += datetime.timedelta(days=7)
Expand Down

0 comments on commit b68911d

Please sign in to comment.