public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug localedata/30412] d_t_fmt in id_ID uses %r placeholder but am_pm and t_fmt_ampm are undefined
Date: Mon, 18 Dec 2023 09:23:07 +0000	[thread overview]
Message-ID: <bug-30412-131-McShevysSZ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-30412-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=30412

--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Mike Fabian <mfabian@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=12ab77e893479a1f7d4666082a48efad79777bb9

commit 12ab77e893479a1f7d4666082a48efad79777bb9
Author: RushingAlien <rushing27alien@gmail.com>
Date:   Mon Aug 21 10:55:30 2023 +0700

    id_ID: Update Time Locales

    Hello! I am Indonesian, was born and raised in Indonesia and still do live
in
    Indonesia.

    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 with Monday, let's comply

    Message-ID: <20230821035530.9075-1-rushing27alien@gmail.com>
    Resolves: BZ # 30412
    Reviewed-by: Mike Fabian <mfabian@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2023-12-18  9:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02 10:49 [Bug localedata/30412] New: " bugzilla at tecnocode dot co.uk
2023-05-02 11:18 ` [Bug localedata/30412] " schwab@linux-m68k.org
2023-05-02 12:05 ` p3732 at getgoogleoff dot me
2023-05-15 14:33 ` bugzilla at tecnocode dot co.uk
2023-12-18  8:11 ` maiku.fabian at gmail dot com
2023-12-18  8:22 ` maiku.fabian at gmail dot com
2023-12-18  8:44 ` rushing27alien at gmail dot com
2023-12-18  9:23 ` cvs-commit at gcc dot gnu.org [this message]
2023-12-18  9:25 ` maiku.fabian at gmail dot com
2023-12-19  7:00 ` rushing27alien at gmail dot com
2023-12-19 10:23 ` cvs-commit at gcc dot gnu.org
2023-12-19 10:24 ` maiku.fabian at gmail dot com

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=bug-30412-131-McShevysSZ@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@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).