Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.2.X] Fixed #14721 -- Made the THOUSAND_SEPERATOR a unicode string …

…in a few locales. Thanks, Claude Paroz.

Backport from trunk (r14708).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 537c45e394fbfe21a9170541d3c134524edd6624 1 parent 4b752d6
@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 =
Please sign in to comment.
Something went wrong with that request. Please try again.