Change default locale to en-US

This commit is contained in:
Christopher C. Wells 2021-10-17 14:38:11 -07:00 committed by Christopher Charbonneau Wells
parent ab334a39c7
commit 9e2048b26c
3 changed files with 36 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -28,7 +28,7 @@ class FormatsTestCase(TestCase):
field.to_python('invalid date string!') field.to_python('invalid date string!')
@tag('isolate') @tag('isolate')
@override_settings(LANGUAGE_CODE='en', USE_24_HOUR_TIME_FORMAT=True) @override_settings(LANGUAGE_CODE='en-US', USE_24_HOUR_TIME_FORMAT=True)
def test_use_24_hour_time_format_en(self): def test_use_24_hour_time_format_en(self):
field = DateTimeField() field = DateTimeField()
supported_custom_examples = [ supported_custom_examples = [

View File

@ -32,7 +32,7 @@ class FormsTestCase(TestCase):
'last_name': 'Name', 'last_name': 'Name',
'email': 'user@user.user', 'email': 'user@user.user',
'dashboard_refresh_rate': '', 'dashboard_refresh_rate': '',
'language': 'en', 'language': 'en-US',
'timezone': 'UTC', 'timezone': 'UTC',
'next': '/user/settings/' 'next': '/user/settings/'
} }