diff --git a/lms/djangoapps/certificates/views/webview.py b/lms/djangoapps/certificates/views/webview.py index 69c8e7534de9..ff2c665dd642 100644 --- a/lms/djangoapps/certificates/views/webview.py +++ b/lms/djangoapps/certificates/views/webview.py @@ -123,7 +123,7 @@ def _update_certificate_context(context, course, course_overview, user_certifica else: date = display_date_for_certificate(course, user_certificate) # Translators: The format of the date includes the full name of the month - date = strftime_localized(date, "%B %-d, %Y") + date = date.strftime("%B %-d, %Y") context['certificate_date_issued'] = date # SDAIA: Adding Date in Arabic context['arabic_certificate_date_issued'] = convert_date_to_arabic(date) diff --git a/lms/templates/certificates/_accomplishment-rendering.html b/lms/templates/certificates/_accomplishment-rendering.html index db063363d309..5af14b19e0b4 100644 --- a/lms/templates/certificates/_accomplishment-rendering.html +++ b/lms/templates/certificates/_accomplishment-rendering.html @@ -6,8 +6,10 @@