Skip to content

Commit

Permalink
Update pending email compare date
Browse files Browse the repository at this point in the history
We've had this feature off for MAGFest for a while, so we need the clock to start later
  • Loading branch information
kitsuta committed Sep 25, 2023
1 parent 01635cd commit 8ab4bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uber/tasks/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def email_pending_attendees():
for badge in pending_badges:
# Update `compare_date` to prevent early deletion of badges registered before a certain date
# Implemented for MFF 2023 but let's be honest, we'll probably need it again
compare_date = max(badge.registered, datetime(2023, 9, 12, tzinfo=pytz.UTC))
compare_date = max(badge.registered, datetime(2023, 9, 25, tzinfo=pytz.UTC))
if compare_date < four_days_old:
badge.badge_status = c.INVALID_STATUS
session.commit()
Expand Down

0 comments on commit 8ab4bd0

Please sign in to comment.