mirror of
https://gitlab.crans.org/bde/nk20-scripts
synced 2024-12-26 01:12:25 +00:00
BDE memberships can start on 1st august
This commit is contained in:
parent
4b37f8286f
commit
1f300c3b7b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user