Commit 73a4845b authored by tvbussel's avatar tvbussel
Browse files

Fix years in statistics

Now uses the current lecture year instead of the current calendar year.
parent a2c793a2
......@@ -13,6 +13,7 @@ from django.utils.translation import ugettext_lazy as _
from localflavor.generic.countries.sepa import IBAN_SEPA_COUNTRIES
from localflavor.generic.models import IBANField
from utils.snippets import datetime_to_lectureyear
from utils.validators import validate_file_extension
......@@ -440,7 +441,7 @@ def gen_stats_year(member_types):
stats_year = []
current_year =
current_year = datetime_to_lectureyear(
for i in range(5):
new = dict()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment