Skip to content

Commit

Permalink
fix effort translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faraz Maqsood committed Nov 3, 2023
1 parent 804d9b1 commit f9dbd88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/certificates/views/webview.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _update_course_context(request, context, course, platform_name, course_overv
Updates context dictionary with course info.
"""
effort = course_overview and course_overview.effort or '8'
context['course_duration'] = convert_number_to_arabic(effort)
context['course_duration'] = convert_date_to_arabic(effort)
context['full_course_image_url'] = request.build_absolute_uri(course_image_url(course))
course_title_from_cert = context['certificate_data'].get('course_title', '')
accomplishment_copy_course_name = course_title_from_cert if course_title_from_cert else course.display_name
Expand Down

0 comments on commit f9dbd88

Please sign in to comment.