mirror of https://github.com/snachodog/mybuddy.git
Revert "Treat `en` as `en-US` for date formatting"
This reverts commitc06ce032
. Proper handling for this language setting is added in commit59372a01
.
This commit is contained in:
parent
59372a01d2
commit
9585443218
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue