diff --git a/ssmembership/jinja2/ssmembership/email/import.html b/ssmembership/jinja2/ssmembership/email/import.html index 63463e8..a77890f 100644 --- a/ssmembership/jinja2/ssmembership/email/import.html +++ b/ssmembership/jinja2/ssmembership/email/import.html @@ -34,7 +34,7 @@ Renew membership for free
-

If you do not renew your membership by 20 March 2019, your membership will expire, and you will not be able to buy tickets to {{ import('django.conf').settings.ORG_NAME }} events at member prices or run for election within {{ import('django.conf').settings.ORG_NAME }} without paying a membership fee. Please make sure to renew your membership by 20 March 2019 to avoid this.

+

If you do not renew your membership by 31 March 2019, your membership will expire, and you will not be able to buy tickets to {{ import('django.conf').settings.ORG_NAME }} events at member prices or run for election within {{ import('django.conf').settings.ORG_NAME }} without paying a membership fee. Please make sure to renew your membership by 31 March 2019 to avoid this.

If you do not want to renew your membership, or you are no longer a Monash medical student, simply ignore this email.

If you encounter any issues renewing your membership, or have any other questions, please contact the Secretary, Yingtong Li, at {{ import('django.conf').settings.AWS_SENDER_EMAIL }}.

Please note that emails are being sent in stages. If other students have not received this email, please let them know that this is normal, and they should receive their email within 7 days. Otherwise, contact {{ import('django.conf').settings.AWS_SENDER_EMAIL }}.

diff --git a/ssmembership/mimport.py b/ssmembership/mimport.py index c08def1..9c2807c 100644 --- a/ssmembership/mimport.py +++ b/ssmembership/mimport.py @@ -55,9 +55,9 @@ def by_email(email): member.phone = result[7] # Calculate expiration date - member.expires = timezone.now().date().replace(month=3, day=20) + member.expires = timezone.now().date().replace(month=3, day=31) member.expires = member.expires.replace(year=member.expires.year+1) - if member.expires < timezone.now().date(): # Add 1 year if after Mar 20, else add 2 years + if member.expires < timezone.now().date(): # Add 1 year if after Mar 31, else add 2 years member.expires = member.expires.replace(year=member.expires.year+1) return member