Skip to content

Commit

Permalink
Fix invalid date
Browse files Browse the repository at this point in the history
  • Loading branch information
J0B10 committed Oct 9, 2021
1 parent a5fee8d commit b6756db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aoc-badges.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

# current day
today = date.today() - timedelta(hours=5)
if today < date(year, 12, 0):
if today < date(year, 12, 1):
day = 0
elif today > date(year, 12, 31):
day = 24
Expand Down

0 comments on commit b6756db

Please sign in to comment.