From b17fad46fb84af30a3bd40d7ff4272b9f135c2b0 Mon Sep 17 00:00:00 2001 From: Youngkwang Yang Date: Wed, 8 Feb 2023 17:37:08 +0900 Subject: [PATCH] [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 --- django/conf/locale/es/formats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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