Fix weekly schedule fallback start date

Co-authored-by: Adam Moussa <amoussa1229@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-05-12 22:00:04 +00:00
parent e14eeaa17f
commit 6f6cdd94e8
No known key found for this signature in database

View file

@ -206,7 +206,7 @@ def handler(event, context):
result = slack.chat_postMessage(
channel=channel_id,
blocks=blocks,
text=f"After-Hours Schedule — {now.strftime('%b %-d')} to {end_date.strftime('%b %-d')}",
text=f"After-Hours Schedule — {this_monday.strftime('%b %-d')} to {end_date.strftime('%b %-d')}",
)
schedule.save_schedule_post(