Fixed #14721 -- Made the THOUSAND_SEPERATOR a unicode string in a few locales. Thanks, Claude Paroz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
78be884ea7
commit
ab578bfe63
|
@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'd.m.Y'
|
||||||
# TIME_INPUT_FORMATS =
|
# TIME_INPUT_FORMATS =
|
||||||
# DATETIME_INPUT_FORMATS =
|
# DATETIME_INPUT_FORMATS =
|
||||||
DECIMAL_SEPARATOR = ','
|
DECIMAL_SEPARATOR = ','
|
||||||
THOUSAND_SEPARATOR = ' '
|
THOUSAND_SEPARATOR = u' ' # Non-breaking space
|
||||||
# NUMBER_GROUPING =
|
# NUMBER_GROUPING =
|
||||||
|
|
|
@ -32,7 +32,7 @@ DATETIME_INPUT_FORMATS = (
|
||||||
'%m/%d/%y %H:%M', # '10/25/06 14:30'
|
'%m/%d/%y %H:%M', # '10/25/06 14:30'
|
||||||
'%m/%d/%y', # '10/25/06'
|
'%m/%d/%y', # '10/25/06'
|
||||||
)
|
)
|
||||||
DECIMAL_SEPARATOR = '.'
|
DECIMAL_SEPARATOR = u'.'
|
||||||
THOUSAND_SEPARATOR = ','
|
THOUSAND_SEPARATOR = u','
|
||||||
NUMBER_GROUPING = 3
|
NUMBER_GROUPING = 3
|
||||||
|
|
||||||
|
|
|
@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'd.m.Y'
|
||||||
# TIME_INPUT_FORMATS =
|
# TIME_INPUT_FORMATS =
|
||||||
# DATETIME_INPUT_FORMATS =
|
# DATETIME_INPUT_FORMATS =
|
||||||
DECIMAL_SEPARATOR = ','
|
DECIMAL_SEPARATOR = ','
|
||||||
THOUSAND_SEPARATOR = ' '
|
THOUSAND_SEPARATOR = u' ' # Non-breaking space
|
||||||
# NUMBER_GROUPING =
|
# NUMBER_GROUPING =
|
||||||
|
|
|
@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'j.n.Y'
|
||||||
# TIME_INPUT_FORMATS =
|
# TIME_INPUT_FORMATS =
|
||||||
# DATETIME_INPUT_FORMATS =
|
# DATETIME_INPUT_FORMATS =
|
||||||
DECIMAL_SEPARATOR = ','
|
DECIMAL_SEPARATOR = ','
|
||||||
THOUSAND_SEPARATOR = ' '
|
THOUSAND_SEPARATOR = u' ' # Non-breaking space
|
||||||
# NUMBER_GROUPING =
|
# NUMBER_GROUPING =
|
||||||
|
|
|
@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'Y.m.d.'
|
||||||
# TIME_INPUT_FORMATS =
|
# TIME_INPUT_FORMATS =
|
||||||
# DATETIME_INPUT_FORMATS =
|
# DATETIME_INPUT_FORMATS =
|
||||||
DECIMAL_SEPARATOR = ','
|
DECIMAL_SEPARATOR = ','
|
||||||
THOUSAND_SEPARATOR = ' '
|
THOUSAND_SEPARATOR = u' ' # Non-breaking space
|
||||||
# NUMBER_GROUPING =
|
# NUMBER_GROUPING =
|
||||||
|
|
|
@ -32,5 +32,5 @@ DATETIME_INPUT_FORMATS = (
|
||||||
'%d.%m.%y', # '25.10.06'
|
'%d.%m.%y', # '25.10.06'
|
||||||
)
|
)
|
||||||
DECIMAL_SEPARATOR = ','
|
DECIMAL_SEPARATOR = ','
|
||||||
THOUSAND_SEPARATOR = ' '
|
THOUSAND_SEPARATOR = u' ' # Non-breaking space
|
||||||
NUMBER_GROUPING = 3
|
NUMBER_GROUPING = 3
|
||||||
|
|
|
@ -14,5 +14,5 @@ SHORT_DATE_FORMAT = 'j M Y'
|
||||||
# TIME_INPUT_FORMATS =
|
# TIME_INPUT_FORMATS =
|
||||||
# DATETIME_INPUT_FORMATS =
|
# DATETIME_INPUT_FORMATS =
|
||||||
DECIMAL_SEPARATOR = ','
|
DECIMAL_SEPARATOR = ','
|
||||||
THOUSAND_SEPARATOR = ' '
|
THOUSAND_SEPARATOR = u' '
|
||||||
# NUMBER_GROUPING =
|
# NUMBER_GROUPING =
|
||||||
|
|
Loading…
Reference in New Issue