From 91d0c43cc8bee2afbfeb34a4d39323ff4e2fed17 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 13 Jan 2021 13:34:30 -0500 Subject: [PATCH] Slightly clearer (#26060) Without to_locale, it's not a locale anymore, so don't call it that. --- lms/djangoapps/courseware/date_summary.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lms/djangoapps/courseware/date_summary.py b/lms/djangoapps/courseware/date_summary.py index 977b812835..aeec7cdd77 100644 --- a/lms/djangoapps/courseware/date_summary.py +++ b/lms/djangoapps/courseware/date_summary.py @@ -193,7 +193,6 @@ class DateSummary(object): Note: this returns a span that will be localized on the client. """ - locale = get_language() user_timezone = user_timezone_locale_prefs(crum.get_current_request())['user_timezone'] return HTML( u'