[PATCH 1/5] Define `am_pm` string
rushing27alien@gmail.com
rushing27alien@gmail.com
Fri Aug 4 04:06:04 GMT 2023
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
More information about the Libc-alpha
mailing list