fix stat dropdown
All checks were successful
Django CI/CD / test (push) Successful in 1m16s
Django CI/CD / build-and-push (push) Successful in 2m7s

This commit is contained in:
2024-10-16 18:31:12 +02:00
parent 9992d9c9bd
commit f8d621e710
4 changed files with 14 additions and 2 deletions

View File

@ -163,3 +163,7 @@ def streak_bruteforce(datelist: list[date]) -> dict[str, int | tuple[date, date]
else:
increment_streak()
return {"days": highest_streak, "dates": highest_streak_daterange}
def available_stats_year_range():
return range(datetime.now().year, 1999, -1)