Email deadline date format changed (#140)

This commit is contained in:
pavanvpatil 2022-09-12 11:25:16 +05:30 committed by GitHub
parent c4e33e5eeb
commit 898539cde2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ def send_opening_notifications(placement_id):
"company_name": placement.company_name, "company_name": placement.company_name,
"opening_type": 'Placement', "opening_type": 'Placement',
"designation": placement.designation, "designation": placement.designation,
"deadline": placement.deadline_datetime.strftime("%Y-%m-%d %H:%M:%S"), "deadline": placement.deadline_datetime.strftime("%A, %-d %B %Y, %-I:%M %p"),
"link": PLACEMENT_OPENING_URL.format(id=placement.id) "link": PLACEMENT_OPENING_URL.format(id=placement.id)
} }
sendEmail(student_user.email, subject, data, NOTIFY_STUDENTS_OPENING_TEMPLATE) sendEmail(student_user.email, subject, data, NOTIFY_STUDENTS_OPENING_TEMPLATE)