Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit ab578bfe6310072a79bd1214be587354656e7ad8 1 parent 78be884
@jezdez jezdez authored
View
2  django/conf/locale/bg/formats.py
@@ -14,5 +14,5 @@
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
# NUMBER_GROUPING =
View
4 django/conf/locale/en/formats.py
@@ -32,7 +32,7 @@
'%m/%d/%y %H:%M', # '10/25/06 14:30'
'%m/%d/%y', # '10/25/06'
)
-DECIMAL_SEPARATOR = '.'
-THOUSAND_SEPARATOR = ','
+DECIMAL_SEPARATOR = u'.'
+THOUSAND_SEPARATOR = u','
NUMBER_GROUPING = 3
View
2  django/conf/locale/et/formats.py
@@ -14,5 +14,5 @@
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
# NUMBER_GROUPING =
View
2  django/conf/locale/fi/formats.py
@@ -14,5 +14,5 @@
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
# NUMBER_GROUPING =
View
2  django/conf/locale/hu/formats.py
@@ -14,5 +14,5 @@
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
# NUMBER_GROUPING =
View
2  django/conf/locale/lv/formats.py
@@ -32,5 +32,5 @@
'%d.%m.%y', # '25.10.06'
)
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' ' # Non-breaking space
NUMBER_GROUPING = 3
View
2  django/conf/locale/uk/formats.py
@@ -14,5 +14,5 @@
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
-THOUSAND_SEPARATOR = ' '
+THOUSAND_SEPARATOR = u' '
# NUMBER_GROUPING =

0 comments on commit ab578bf

Please sign in to comment.
Something went wrong with that request. Please try again.