mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Updated a few localization formats to stop the changes done in r17473 from breaking the tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -439,7 +439,7 @@ class FormattingTests(TestCase):
|
||||
settings.USE_L10N = True
|
||||
# Catalan locale
|
||||
with translation.override('ca', deactivate=True):
|
||||
self.assertEqual('j \de F \de Y', get_format('DATE_FORMAT'))
|
||||
self.assertEqual('j \d\e F \d\e Y', get_format('DATE_FORMAT'))
|
||||
self.assertEqual(1, get_format('FIRST_DAY_OF_WEEK'))
|
||||
self.assertEqual(',', get_format('DECIMAL_SEPARATOR'))
|
||||
self.assertEqual(u'10:15:48', time_format(self.t))
|
||||
|
||||
Reference in New Issue
Block a user