Revert "Treat `en` as `en-US` for date formatting"

This reverts commit c06ce032. Proper handling for this language setting is
added in commit 59372a01.
This commit is contained in:
Christopher C. Wells 2021-12-14 09:25:21 -05:00
parent 59372a01d2
commit 9585443218
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class UserLanguageMiddleware:
language = settings.LANGUAGE_CODE
if language:
if language == 'en' or language == 'en-US':
if language == 'en-US':
update_en_us_date_formats()
elif language == 'en-GB':
update_en_gb_date_formats()