Skip to content

Commit

Permalink
fix: London Borough Sutton
Browse files Browse the repository at this point in the history
fix: #1131
  • Loading branch information
m26dvd committed Jan 5, 2025
1 parent 109796f commit 2838da3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def parse_data(self, page: str, **kwargs) -> dict:
"%A, %d %B",
)

if next_collection.month == 1:
if (datetime.now().month == 12) and (next_collection.month == 1):
next_collection = next_collection.replace(year=next_year)
else:
next_collection = next_collection.replace(year=current_year)
Expand Down

0 comments on commit 2838da3

Please sign in to comment.