Basculement année au 1.7 (au lieu de 1.8)
This commit is contained in:
parent
3f57977822
commit
b9363bee67
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ def school_year(date, as_tuple=False):
|
|||
* as_tuple = False: "2013 — 2014"
|
||||
* as_tuple = True: [2013, 2014]
|
||||
"""
|
||||
if date.month < 8:
|
||||
if date.month < 7:
|
||||
start_year = date.year - 1
|
||||
else:
|
||||
start_year = date.year
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue