public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/5] Define `am_pm` string
@ 2023-08-04  4:06 rushing27alien
  2023-08-04  4:06 ` [PATCH 2/5] Define time_fmt_ampm, change from an empty string rushing27alien
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rushing27alien @ 2023-08-04  4:06 UTC (permalink / raw)
  To: libc-alpha; +Cc: RushingAlien

From: RushingAlien <rushing27alien@gmail.com>

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".

`date +%r`
before: 01:23
after : 01.23 AM
---
 localedata/locales/id_ID | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/localedata/locales/id_ID b/localedata/locales/id_ID
index c10306deb7..e306076e8b 100644
--- a/localedata/locales/id_ID
+++ b/localedata/locales/id_ID
@@ -119,7 +119,7 @@ d_t_fmt     "%a %d %b %Y %r"
 date_fmt    "%a %d %b %Y %r %Z"
 d_fmt       "%d//%m//%y"
 t_fmt       "%T"
-am_pm       "";""
+am_pm       "AM";"PM"
 t_fmt_ampm  ""
 week 7;19971130;1
 END LC_TIME
-- 
2.41.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-07 13:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-04  4:06 [PATCH 1/5] Define `am_pm` string rushing27alien
2023-08-04  4:06 ` [PATCH 2/5] Define time_fmt_ampm, change from an empty string rushing27alien
2023-08-04  4:06 ` [PATCH 3/5] Use 24-hour format for time_fmt rushing27alien
2023-08-04  4:06 ` [PATCH 4/5] Use 24-hour format for d_t_fmt rushing27alien
2023-08-04  4:06 ` [PATCH 5/5] Change first_weekday to monday rushing27alien
2023-08-07 13:20 ` [PATCH 1/5] Define `am_pm` string Florian Weimer

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).