Skip to content

Commit

Permalink
fix nottingham: datetime.timedelta doesn't accept years (mampfes#3516)
Browse files Browse the repository at this point in the history
  • Loading branch information
TurnrDev authored and Oberknecht committed Feb 6, 2025
1 parent e7a9b95 commit 2c7b603
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def fetch(self):
collection["collectionDate"]
)

if next_collection_date > datetime.datetime.now() + datetime.timedelta(years=1):
if next_collection_date > datetime.datetime.now() + datetime.timedelta(days=365):
continue

entries.append(
Expand Down

0 comments on commit 2c7b603

Please sign in to comment.