[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#466482: Locales: es_CR.UTF-8 lacks 12-hour format in LC_TIME



Package: locales
Version: 2.7-8
Severity: normal

Hi my current locale es_CR.UTF-8 lacks 12-hour format definition in LC_TIME. This is needed by the clock applet in gnome-panel to provide the option to 
allow 12-hour clock format. Reading (1) it is said that the format definition in en_GB could be used instead. AM/PM are the correct ways to specify 12-hour format. 

So I edited two lines in /usr/share/i18n/locales/es_CR 
	LC_TIME
	...
	am_pm   "<U0041><U004D>";"<U0050><U004D>"
	t_fmt_ampm "<U0025><U006C><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0050><U0020><U0025><U005A>"
	...

Then regenerated the locales and the problem was fixed.

This could also be usefull for other spanish locales.

Please consider this change.


(1) https://bugs.launchpad.net/bugs/51255

Saludos
	Niko

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_CR.UTF-8, LC_CTYPE=es_CR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages locales depends on:
ii  debconf [debconf-2.0]         1.5.19     Debian configuration management sy
ii  libc6 [glibc-2.7-1]           2.7-8      GNU C Library: Shared libraries

locales recommends no packages.

-- debconf information:
* locales/default_environment_locale: es_CR.UTF-8
* locales/locales_to_be_generated: en_US.UTF-8 UTF-8, es_CR.UTF-8 UTF-8



Reply to: