public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: Akbarkhon Variskhanov <akbarkhon.variskhanov@gmail.com>
To: libc-locales@sourceware.org
Cc: Mashrab Kuvatov <kmashrab@uni-bremen.de>
Subject: [PATCH] uz_UZ locale: Fix decimal_point and thousands_sep
Date: Mon, 3 Oct 2022 17:47:47 +0500	[thread overview]
Message-ID: <CANeoM1HZxnyWtE2hsXO-6XUhb-C2VD4TADUKRSNVajEDwwtfFA@mail.gmail.com> (raw)

[-- 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


             reply	other threads:[~2022-10-03 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-03 12:47 Akbarkhon Variskhanov [this message]
2022-11-01 18:22 ` Mashrab Kuvatov
2024-01-02 15:41 ` Mike FABIAN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANeoM1HZxnyWtE2hsXO-6XUhb-C2VD4TADUKRSNVajEDwwtfFA@mail.gmail.com \
    --to=akbarkhon.variskhanov@gmail.com \
    --cc=kmashrab@uni-bremen.de \
    --cc=libc-locales@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).