commit 89536fef23ad1a720d3885d1e88bf0f0f31bd3b5
Author: Claude Paroz <claude@2xlibre.net>
Date: Thu Nov 18 22:45:14 2010 +0100
Add missing 'u' prefix before Unicode strings in localized formats.py
diff --git a/django/conf/locale/bg/formats.py b/django/conf/locale/bg/formats.py
index 045543a..ea5f300 100644
a
|
b
|
SHORT_DATE_FORMAT = 'd.m.Y'
|
14 | 14 | # TIME_INPUT_FORMATS = |
15 | 15 | # DATETIME_INPUT_FORMATS = |
16 | 16 | DECIMAL_SEPARATOR = ',' |
17 | | THOUSAND_SEPARATOR = ' ' |
| 17 | THOUSAND_SEPARATOR = u' ' # Non-breaking space |
18 | 18 | # NUMBER_GROUPING = |
diff --git a/django/conf/locale/en/formats.py b/django/conf/locale/en/formats.py
index 141f705..c59a94a 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
32 | 32 | '%m/%d/%y %H:%M', # '10/25/06 14:30' |
33 | 33 | '%m/%d/%y', # '10/25/06' |
34 | 34 | ) |
35 | | DECIMAL_SEPARATOR = '.' |
36 | | THOUSAND_SEPARATOR = ',' |
| 35 | DECIMAL_SEPARATOR = u'.' |
| 36 | THOUSAND_SEPARATOR = u',' |
37 | 37 | NUMBER_GROUPING = 3 |
38 | 38 | |
diff --git a/django/conf/locale/et/formats.py b/django/conf/locale/et/formats.py
index b96420c..101fcee 100644
a
|
b
|
SHORT_DATE_FORMAT = 'd.m.Y'
|
14 | 14 | # TIME_INPUT_FORMATS = |
15 | 15 | # DATETIME_INPUT_FORMATS = |
16 | 16 | DECIMAL_SEPARATOR = ',' |
17 | | THOUSAND_SEPARATOR = ' ' |
| 17 | THOUSAND_SEPARATOR = u' ' # Non-breaking space |
18 | 18 | # NUMBER_GROUPING = |
diff --git a/django/conf/locale/fi/formats.py b/django/conf/locale/fi/formats.py
index 670e268..d6cc7d7 100644
a
|
b
|
SHORT_DATE_FORMAT = 'j.n.Y'
|
14 | 14 | # TIME_INPUT_FORMATS = |
15 | 15 | # DATETIME_INPUT_FORMATS = |
16 | 16 | DECIMAL_SEPARATOR = ',' |
17 | | THOUSAND_SEPARATOR = ' ' |
| 17 | THOUSAND_SEPARATOR = u' ' # Non-breaking space |
18 | 18 | # NUMBER_GROUPING = |
diff --git a/django/conf/locale/hu/formats.py b/django/conf/locale/hu/formats.py
index 6ee2db0..cb93e2f 100644
a
|
b
|
SHORT_DATE_FORMAT = 'Y.m.d.'
|
14 | 14 | # TIME_INPUT_FORMATS = |
15 | 15 | # DATETIME_INPUT_FORMATS = |
16 | 16 | DECIMAL_SEPARATOR = ',' |
17 | | THOUSAND_SEPARATOR = ' ' |
| 17 | THOUSAND_SEPARATOR = u' ' # Non-breaking space |
18 | 18 | # NUMBER_GROUPING = |
diff --git a/django/conf/locale/lv/formats.py b/django/conf/locale/lv/formats.py
index 8328b74..15637d1 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
32 | 32 | '%d.%m.%y', # '25.10.06' |
33 | 33 | ) |
34 | 34 | DECIMAL_SEPARATOR = ',' |
35 | | THOUSAND_SEPARATOR = ' ' |
| 35 | THOUSAND_SEPARATOR = u' ' # Non-breaking space |
36 | 36 | NUMBER_GROUPING = 3 |
diff --git a/django/conf/locale/uk/formats.py b/django/conf/locale/uk/formats.py
index 8e41bf0..8c01f3d 100644
a
|
b
|
SHORT_DATE_FORMAT = 'j M Y'
|
14 | 14 | # TIME_INPUT_FORMATS = |
15 | 15 | # DATETIME_INPUT_FORMATS = |
16 | 16 | DECIMAL_SEPARATOR = ',' |
17 | | THOUSAND_SEPARATOR = ' ' |
| 17 | THOUSAND_SEPARATOR = u' ' |
18 | 18 | # NUMBER_GROUPING = |