summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungkwang Yang <immutable000@gmail.com>2023-02-08 17:37:08 +0900
committerCarlton Gibson <carlton.gibson@noumenal.es>2023-02-08 09:39:10 +0100
commitb17fad46fb84af30a3bd40d7ff4272b9f135c2b0 (patch)
tree31b4242482c47623b10316b4096657760c9b2617
parent757c456d232279ae57546c9c39a9f81183c8a82f (diff)
[4.2.x] Fixed #34313 -- Updated thousands separator for Spanish (ES) locale.
Format was updated from a comma to a space in 2010. ref: https://en.wikipedia.org/wiki/Decimal_separator#Examples_of_use Backport of 9f20f382cab9241f2e8ec724eb84d341a68567bc from main
-rw-r--r--django/conf/locale/es/formats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/conf/locale/es/formats.py b/django/conf/locale/es/formats.py
index ff9690bb5e..f2716bb0f1 100644
--- a/django/conf/locale/es/formats.py
+++ b/django/conf/locale/es/formats.py
@@ -26,5 +26,5 @@ DATETIME_INPUT_FORMATS = [
"%d/%m/%y %H:%M",
]
DECIMAL_SEPARATOR = ","
-THOUSAND_SEPARATOR = "."
+THOUSAND_SEPARATOR = "\xa0" # non-breaking space
NUMBER_GROUPING = 3