mirror of https://github.com/snachodog/mybuddy.git
Change default locale to en-US
This commit is contained in:
parent
ab334a39c7
commit
9e2048b26c
File diff suppressed because one or more lines are too long
|
@ -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 = [
|
||||||
|
|
|
@ -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/'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue