Skip to content
Snippets Groups Projects
Commit 1f300c3b authored by ynerant's avatar ynerant
Browse files

BDE memberships can start on 1st august

parent 4b37f828
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,8 @@ CT = {
def get_date_end(date_start):
date_end = copy.deepcopy(date_start)
if date_start.month > 8:
date_end = date_start.replace(year=date_start.year+1)
if date_start.month >= 8:
date_end = date_start.replace(year=date_start.year + 1)
date_end = date_end.replace(month=9, day=30)
return date_end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment