Comment 12 for bug 51255

Revision history for this message
Niko Cavallini (niko-cava) wrote : Re: No 12-hour clock available in spanish language

Hi this is fixed in debian unstable for es_CR thank to Aurelien Jarno (Debian Bug # 466482: fixed in glibc 2.7-9) he added a patch to LC_Time to add "a.m." and "p.m." to the 12-hour. This is only for es_CR but someone with control of the source can use it for all es this if that is the case/decision.

cat glibc-2.7/debian/patches/localedata/locale-es_CR.diff
--- glibc-2.7.orig/localedata/locales/es_CR 30 Jul 2006 22:19:44 -0000
+++ glibc-2.7/localedata/locales/es_CR 20 Feb 2008 07:00:28 -0000
@@ -108,8 +108,8 @@ mon "<U0065><U006E><U0065><U0072><U0
 d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
 d_fmt "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
 t_fmt "<U0025><U0054>"
-am_pm "";""
-t_fmt_ampm ""
+am_pm "<U0041><U002E><U004D><U002E>";"<U0050><U002E><U004D><U002E>"
+t_fmt_ampm "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070>"
 date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
 <U0025><U005A><U0020><U0025><U0059>"

Can someone take a look into this and hopefully it can be fixed for hardy.

Saludos
        Niko