diff --git a/files/helpers/cron.py b/files/helpers/cron.py index 5e65d0f3e..f590f6b6e 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -391,9 +391,8 @@ def _set_top_poster_of_the_day_id(): user = user[0] - t = datetime.datetime.now() - db.flush() - send_notification(user.id, f":marseyjam: You're the Top Poster of the Day for the day of {t.year}-{t.month}-{t.day} :marseyjam:") + date = time.strftime("%B %d, %Y", time.gmtime()) + send_notification(user.id, f":marseyjam: Congratulations! You're the Top Poster of the Day for {date}! :marseyjam:") badge_grant(badge_id=327, user=user) cache.set("top_poster_of_the_day_id", user.id, timeout=86400)