diff --git a/lms/djangoapps/certificates/views/webview.py b/lms/djangoapps/certificates/views/webview.py index acef48dc13..4ec4050a8f 100644 --- a/lms/djangoapps/certificates/views/webview.py +++ b/lms/djangoapps/certificates/views/webview.py @@ -99,7 +99,7 @@ def _update_certificate_context(context, user_certificate, platform_name): # Translators: The format of the date includes the full name of the month context['certificate_date_issued'] = _('{month} {day}, {year}').format( - month=strftime_localized(user_certificate.modified_date,"%B"), + month=strftime_localized(user_certificate.modified_date, "%B"), day=user_certificate.modified_date.day, year=user_certificate.modified_date.year )