public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] uz_UZ locale: Fix decimal_point and thousands_sep
@ 2022-10-03 12:47 Akbarkhon Variskhanov
  2022-11-01 18:22 ` Mashrab Kuvatov
  2024-01-02 15:41 ` Mike FABIAN
  0 siblings, 2 replies; 3+ messages in thread
From: Akbarkhon Variskhanov @ 2022-10-03 12:47 UTC (permalink / raw)
  To: libc-locales; +Cc: Mashrab Kuvatov

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

Test results:
$ LC_ALL=uz_UZ.UTF-8
$ printf "%'f\n" "1234,56"
1 234,560000

Signed-off-by: Akbarkhon Variskhanov <akbarkhon.variskhanov@gmail.com>
---
 localedata/locales/uz_UZ | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/localedata/locales/uz_UZ b/localedata/locales/uz_UZ
index 2dae80c8aa..ba7081bd8d 100644
--- a/localedata/locales/uz_UZ
+++ b/localedata/locales/uz_UZ
@@ -265,8 +265,8 @@ n_sign_posn             1
 END LC_MONETARY

 LC_NUMERIC
-decimal_point           "."
-thousands_sep           ","
+decimal_point           ","
+thousands_sep           " "
 grouping                3;3
 END LC_NUMERIC

--
2.37.2

[-- Attachment #2: 0001-uz_UZ-locale-Fix-decimal_point-and-thousands_sep.patch --]
[-- Type: text/x-patch, Size: 872 bytes --]

From 62c89a528cb5519aced7ad921d98b8b338f828e9 Mon Sep 17 00:00:00 2001
From: Akbarkhon Variskhanov <akbarkhon.variskhanov@gmail.com>
Date: Fri, 30 Sep 2022 03:22:24 +0500
Subject: [PATCH] uz_UZ locale: Fix decimal_point and thousands_sep
To: libc-locale@sourceware.org
Cc: kmashrab@uni-bremen.de

Signed-off-by: Akbarkhon Variskhanov <akbarkhon.variskhanov@gmail.com>
---
 localedata/locales/uz_UZ | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/localedata/locales/uz_UZ b/localedata/locales/uz_UZ
index 2dae80c8aa..ba7081bd8d 100644
--- a/localedata/locales/uz_UZ
+++ b/localedata/locales/uz_UZ
@@ -265,8 +265,8 @@ n_sign_posn             1
 END LC_MONETARY
 
 LC_NUMERIC
-decimal_point           "."
-thousands_sep           ","
+decimal_point           ","
+thousands_sep           " "
 grouping                3;3
 END LC_NUMERIC
 
-- 
2.37.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-02 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-03 12:47 [PATCH] uz_UZ locale: Fix decimal_point and thousands_sep Akbarkhon Variskhanov
2022-11-01 18:22 ` Mashrab Kuvatov
2024-01-02 15:41 ` Mike FABIAN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).