From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D159C3858C3A; Mon, 15 May 2023 14:33:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D159C3858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1684161192; bh=GKf9Eg7t/rBQlyfnymmNL01gYEAv3rz+vSmXuEpTg4k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pS/n5O3fFiBugEb69T67EQx4W1hxrRfOYooHckjNY4ClrryHzdW6VtmoSLzvKlhyQ 7vUHkfiJ62LIw/Is7e/Wa2VdpFX2On/+d8RMRtGcBwfVZbmt0TMyMokROmX1nuQn07 wo9waSP+L2e0tJCLjFRZ38TkoL8/WQlxc1b0nueU= From: "bugzilla at tecnocode dot co.uk" 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, 15 May 2023 14:33:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugzilla at tecnocode dot co.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30412 --- Comment #2 from Philip Withnall --- (In reply to Andreas Schwab from comment #1) > If t_fmt_ampm is empty, it defaults to "%I:%M:%S %p". And presumably hence if am_pm is empty then it also defaults to `"AM";"PM"`= for this to work? Would your preferred fix be for 1. localedata to use `%T %Z` rather than `%r` in `d_t_fmt`/`date_fmt`; or 2. GLib to use `%I:%M:%S %p` for `t_fmt_ampm` if it=E2=80=99s otherwise un= defined? --=20 You are receiving this mail because: You are on the CC list for the bug.=