From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id 338C4385770F for ; Mon, 21 Aug 2023 03:58:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 338C4385770F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-68a5457b930so108715b3a.2 for ; Sun, 20 Aug 2023 20:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692590283; x=1693195083; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kFgu61qdZx3RCnPifpDd/M+fCEKCFTsUG+/GLXw3O7k=; b=DQrqOEKsfj8l/ajtGe6L6D32j/ahEmYUkqytZ8cQ4G0GoaLbEefOp7zo40aom839O+ R4DgJ5rVwI4KphTq3D33RKBUZrZFp/gsNjkJPQsI1KGJd33NgS63aTg1lgr5VrYY9rwV YB2YrB0wpwEjI8nyhObu0B2xKL/KJDAqZ4JP16RTmLp1sPOYR4N7ZjfYgqBUGKDdgY0H ypSd0H70wNa6yb2qz8tCAN+XTUMyLa9bLw4NtZVW1IKzUeymI9kuOImGCD9/Wmnnurfe FInxCFeReC+NqFbmrb9Gp/gqqnECZ/Q31jazbbSFDi8UpkXeuRU/TfX2MxWfqS8fGdgf 1oUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692590283; x=1693195083; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kFgu61qdZx3RCnPifpDd/M+fCEKCFTsUG+/GLXw3O7k=; b=Z0KQFBBRF0ZRrtp19G/n56XJVmfk8Oj8/nDYt2pg3QgtcrHqAVSb7OlbuUm6Ed0NJ6 jRdNhnGhODO21cajZ3bd4vYAbkvyBvD293pfMF4P4ohzopS59sDqpqfKXXmqMK9bCODr CKxcPMgr5cdTTePTMDTtHeZ1XIuUV7QYx1dY7hkJi5kfe9EmwPAWqyuYEBwGRC+6A/nR Q+M4vUfZnphyW1w2njq1vBWAoJe+GJtA1kv0DCuHwiy0z/umEe4qGQf6GyyjGU7Clrbm vJSzdcj40b+OxNC3Wn8lEeyrAyZNOYfOA4R2gG0Qyd5aeWvYberiTCiDNJ3XXtH0caz/ eIJQ== X-Gm-Message-State: AOJu0YzMaikdXJhawf2GgNXXMXWDaQMbzyGo6w01IlAg+bR1Hu/HF/6v JMsAkd/2D9UoyrVqGgv908kgUplh0BA= X-Google-Smtp-Source: AGHT+IGkU5Tm7EnMCWSdd3jkFAwWZYkM2zb8YKo2m/y5xikVj3WHSSuP4tjPZYXSi3Oqs3vaE33MtQ== X-Received: by 2002:a05:6a00:b8d:b0:687:5415:7282 with SMTP id g13-20020a056a000b8d00b0068754157282mr3998131pfj.23.1692590282677; Sun, 20 Aug 2023 20:58:02 -0700 (PDT) Received: from komputer-raambm.ub.ac.id ([175.45.191.254]) by smtp.gmail.com with ESMTPSA id i23-20020aa787d7000000b0064d47cd116esm5103987pfo.161.2023.08.20.20.58.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 20:58:02 -0700 (PDT) From: RushingAlien To: libc-locales@sourceware.org Cc: RushingAlien Subject: [PATCH] id_ID: Update Time Locales Date: Mon, 21 Aug 2023 10:57:30 +0700 Message-ID: <20230821035729.9472-2-rushing27alien@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_ABUSEAT,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello! I am Indonesian, was born and raised in Indonesia and still do live in Indonesia. I have sent this to libc-alpha, however had received no response, so I am sending it here. This patch brings a few changes to the time locales of id_ID, which includes : \- Defining am_pm and time_fmpt_ampm \- Changing time_fmt and d_t_fmt to use the 24-hour format \- Changing first_weekday to Monday This is a squashed version of what is previously a 5 patch set Here are reasons and details of the changes : Change 1 part 1 id_ID: Define `am_pm` string Current formatting does not define am_pm string, leading to AM and PM not being specified in 12 H time format. This change defines the string by changing it from an empty string to "AM";"PM". output of `date +%r`: before commit: 01:23 after commit: 01:23 PM Change 1 part 2 id_ID: Define time_fmt_ampm, change from an empty string Currently, time_fmpt_ampm is set to an empty string, causing some programs to not be able to display time in the 12-hour format, for example, glib: https://gitlab.gnome.org/GNOME/glib/-/issues/2967. This commit changes it from an empty string to "%I:%M:%S %p" Change 2 part 1 id_ID: Use 24-hour format for time_fmt Indonesian standard and formal time format uses the 24-hour format inst- ead of the 12-hour format. This commit aims to change the id_ID locale's time_fmt to match that accordingly. Change 2 part 2 id_ID: Use 24-hour format for d_t_fmt. Indonesian standard and formal time format uses the 24-hour format inst- ead of the 12-hour format. This commit aims to change the id_ID locale's d_t_fmt to match that accordingly. Change 3 id_ID: Change first_weekday to monday Indonesian calendar starts of the week wiht Monday, let's comply --- localedata/locales/id_ID | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/localedata/locales/id_ID b/localedata/locales/id_ID index c10306deb7..5957ebaf0f 100644 --- a/localedata/locales/id_ID +++ b/localedata/locales/id_ID @@ -115,13 +115,14 @@ mon "Januari";/ "Oktober";/ "November";/ "Desember" -d_t_fmt "%a %d %b %Y %r" -date_fmt "%a %d %b %Y %r %Z" +d_t_fmt "%a %d %b %Y %T" +date_fmt "%a %d %b %Y %T %Z" d_fmt "%d//%m//%y" t_fmt "%T" -am_pm "";"" -t_fmt_ampm "" +am_pm "AM";"PM" +t_fmt_ampm "%I:%M:%S %p" week 7;19971130;1 +first_weekday 2 END LC_TIME LC_MESSAGES -- 2.41.0