Verified Commit dab9444f authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Set since date to previous until date of renewal registration

parent 9dc3542b
......@@ -265,7 +265,7 @@ def _create_membership_from_entry(entry, member=None):
if membership.until is None:
raise ValueError('This member already has a never ending '
'membership')
since = membership.until + timedelta(days=1)
since = membership.until
except Renewal.DoesNotExist:
pass
until = timezone.datetime(year=lecture_year + 1,
......
Markdown is supported
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