diff --git a/django/conf/locale/cs/formats.py b/django/conf/locale/cs/formats.py
index 1c03615..d4ebb52 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
33 | 33 | '%Y-%m-%d', # '2006-10-25' |
34 | 34 | ) |
35 | 35 | DECIMAL_SEPARATOR = ',' |
36 | | THOUSAND_SEPARATOR = ' ' |
| 36 | THOUSAND_SEPARATOR = u' ' # non-breaking space |
37 | 37 | NUMBER_GROUPING = 3 |
diff --git a/django/conf/locale/es_MX/formats.py b/django/conf/locale/es_MX/formats.py
index fdedb0d..7f14b97 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
24 | 24 | '%d/%m/%y %H:%M:%S', |
25 | 25 | '%d/%m/%y %H:%M', |
26 | 26 | ) |
27 | | DECIMAL_SEPARATOR = '.' # ',' is also official (less common): NOM-008-SCFI-2002 |
28 | | THOUSAND_SEPARATOR = ' ' # white space |
| 27 | DECIMAL_SEPARATOR = '.' # ',' is also official (less common): NOM-008-SCFI-2002 |
| 28 | THOUSAND_SEPARATOR = u' ' # non-breaking space |
29 | 29 | NUMBER_GROUPING = 3 |
30 | 30 | |
diff --git a/django/conf/locale/fr/formats.py b/django/conf/locale/fr/formats.py
index 2ad05b8..58a2e09 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
37 | 37 | '%Y-%m-%d', # '2006-10-25' |
38 | 38 | ) |
39 | 39 | DECIMAL_SEPARATOR = ',' |
40 | | THOUSAND_SEPARATOR = ' ' |
| 40 | THOUSAND_SEPARATOR = u' ' # non-breaking space |
41 | 41 | NUMBER_GROUPING = 3 |
diff --git a/django/conf/locale/nb/formats.py b/django/conf/locale/nb/formats.py
index f20d712..8c232dc 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
39 | 39 | '%d.%m.%y', # '25.10.06' |
40 | 40 | ) |
41 | 41 | DECIMAL_SEPARATOR = ',' |
42 | | THOUSAND_SEPARATOR = ' ' |
| 42 | THOUSAND_SEPARATOR = u' ' # non-breaking space |
43 | 43 | NUMBER_GROUPING = 3 |
diff --git a/django/conf/locale/nn/formats.py b/django/conf/locale/nn/formats.py
index f20d712..8c232dc 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
39 | 39 | '%d.%m.%y', # '25.10.06' |
40 | 40 | ) |
41 | 41 | DECIMAL_SEPARATOR = ',' |
42 | | THOUSAND_SEPARATOR = ' ' |
| 42 | THOUSAND_SEPARATOR = u' ' # non-breaking space |
43 | 43 | NUMBER_GROUPING = 3 |
diff --git a/django/conf/locale/ru/formats.py b/django/conf/locale/ru/formats.py
index f3a8f2b..430963a 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
36 | 36 | '%Y-%m-%d', # '2006-10-25' |
37 | 37 | ) |
38 | 38 | DECIMAL_SEPARATOR = ',' |
39 | | THOUSAND_SEPARATOR = ' ' |
| 39 | THOUSAND_SEPARATOR = u' ' # non-breaking space |
40 | 40 | NUMBER_GROUPING = 3 |
diff --git a/django/conf/locale/sk/formats.py b/django/conf/locale/sk/formats.py
index 9eeee66..adc3174 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
33 | 33 | '%Y-%m-%d', # '2006-10-25' |
34 | 34 | ) |
35 | 35 | DECIMAL_SEPARATOR = ',' |
36 | | THOUSAND_SEPARATOR = ' ' |
| 36 | THOUSAND_SEPARATOR = u' ' # non-breaking space |
37 | 37 | NUMBER_GROUPING = 3 |
diff --git a/django/conf/locale/sv/formats.py b/django/conf/locale/sv/formats.py
index c04abfa..10a7e00 100644
a
|
b
|
DATETIME_INPUT_FORMATS = (
|
36 | 36 | '%m/%d/%y', # '10/25/06' |
37 | 37 | ) |
38 | 38 | DECIMAL_SEPARATOR = ',' |
39 | | THOUSAND_SEPARATOR = ' ' |
| 39 | THOUSAND_SEPARATOR = u' ' # non-breaking space |
40 | 40 | NUMBER_GROUPING = 3 |
diff --git a/docs/topics/i18n/formatting.txt b/docs/topics/i18n/formatting.txt
index 3c8ebaf..3ccaa21 100644
a
|
b
|
To customize the English formats, a structure like this would be needed::
|
176 | 176 | |
177 | 177 | where :file:`formats.py` contains custom format definitions. For example:: |
178 | 178 | |
179 | | THOUSAND_SEPARATOR = ' ' |
| 179 | THOUSAND_SEPARATOR = u' ' |
180 | 180 | |
181 | | to use a space as a thousand separator, instead of the default for English, |
182 | | a comma. |
| 181 | to use a non-breaking space (Unicode 00A0) as a thousand separator, instead of |
| 182 | the default for English, a comma. |