Fix year wraparound bugs

This commit is contained in:
Edward Perkins
2023-12-10 20:13:07 +01:00
committed by 5ila5
parent c7a40f3dc9
commit 1dac28d167

View File

@@ -36,7 +36,7 @@ DANISH_MONTHS = [
"feb",
"mar",
"apr",
"may",
"maj",
"jun",
"jul",
"aug",
@@ -97,7 +97,7 @@ class Source:
months.append(datetime.date(this_year, DANISH_MONTHS.index(value), 1))
if value == "dec":
this_year = +1
this_year += 1
entries = []