[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-locales
Subject:    [Bug localedata/30412] d_t_fmt in id_ID uses %r placeholder but am_pm and t_fmt_ampm are undefined
From:       "bugzilla at tecnocode dot co.uk via Libc-locales" <libc-locales () sourceware ! org>
Date:       2023-05-15 14:33:12
Message-ID: bug-30412-716-Zs5s9IaOuJ () http ! sourceware ! org/bugzilla/
[Download RAW message or body]

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

--- Comment #2 from Philip Withnall <bugzilla at tecnocode dot co.uk> ---
(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's otherwise undefined?

-- 
You are receiving this mail because:
You are on the CC list for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic