Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
BDE memberships can start on 1st august
· 1f300c3b
ynerant
authored
Aug 02, 2020
1f300c3b
Hide whitespace changes
Inline
Side-by-side
management/commands/import_transaction.py
View file @
1f300c3b
...
...
@@ -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
...
...