Spanish; Castilian (Puerto Rico) and Spanish; Castilian (United States) Regional Formats use 24-hour format by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GLibC |
Fix Released
|
Medium
|
|||
langpack-locales (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
The default format for the clock in the Spanish; Castilian (Puerto Rico) and Spanish; Castilian (United States) Regional Formats (selected in Language Support) is the 24-hour format (displays "13:30" rather than "1:30 PM"). These countries use the 12-hour format, so this default setting is incorrect. While you can change the clock format in the Date and Time Settings regardless of the current Regional Format, the clock in the Login Screen, the Guest Session, and any newly made User Account will use the default clock format (which is the 24-hour format in this case). In addition, I think it's worth mentioning that Valve's Steam gaming software is affected by this issue. Steam uses an "In-Game Overlay" that can display the current time to the user while playing a game. However, this Overlay clock uses the default clock format (again, this being the 24-hour format), even if the clock format for the current user is set to the 12-hour format.
Distro: Ubuntu 12.10
Package: indicator-datetime 12.10.2-0ubuntu3.1
Localization Files: es_PR [and] es_US
Changed in eglibc (Ubuntu): | |
importance: | Undecided → Low |
affects: | eglibc (Ubuntu) → langpack-locales (Ubuntu) |
Changed in langpack-locales (Ubuntu): | |
status: | New → Confirmed |
Changed in glibc: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in glibc: | |
status: | Confirmed → Fix Released |
Changed in langpack-locales (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Low → Medium |
Back in November 2011, Uli checked in a large change which affected the LC_NUMERIC settings of various es_* locales. This change didn't reference any supporting documentation.
It's now being reported that various es_* locals have the wrong LC_NUMERIC settings for the decimal mark and thousands separator.
First I compared the es_* locales to CLDR for LC_NUMERIC settings. This turned up several differences (es_DO, es_GT, es_HN, es_MX, es_NI, es_PA, es_PE, es_PR, es_SV).
For each of those locales I then went in search of documents, preferably government documents which would show usage of the decimal mark and thousands separator.
Mexico: www.economia. gob.mx/ files/diagnosti co_economia_ mexicana. pdf
http://
Dominican Republic: www.bancentral. gov.do/ noticias/ avisos/ aviso2010- 06-25.pdf
http://
We can get grouping from this document from the Guatemala Government. Once we know grouping uses ',', then the decimal mark must be '.'. www.ine. gob.gt/ np/enei/ ENEI2011. htm
http://
Honduras: www.ine. gob.hn/ drupal/ node/175 archivo. laprensa. hn/Negocios/ Ediciones/ 2011/02/ 07/Noticias/ Tasa-de- desempleo- de-Honduras- subio-a- 44
http://
http://
Nicaragua: www.bcn. gob.ni/ estadisticas/ economicas_ anuales/ nicaragua_ en_cifras/ 2010/Nicaragua_ en_cifras2010. pdf
http://
Panama: www.mef. gob.pa/ portal/ 2011-Comunicado s/2011- DISMINUYESUSTAN CIALMENTEELDESE MPLEOENPANAMA. html
http://
Puerto Rico: www.periodicola perla.com/ index.php? option= com_content& view=article& id=3606: en-puerto- rico-la- tasa-de- empleo- cae-al- nivel-mas- bajo-en- la-historia& catid=93: analisis- economico& Itemid= 300
http://
El Salvador: www.minec. gob.sv/ index.php? option= com_content& view=article& catid=1: noticias- ciudadano& id=1567: encuesta& Itemid= 77
http://
All the above referenced documents show a decimal mark as '.' and the thousands separator as ',', which indicate glibc's localedata is wrong.
Interestingly enough, Peru which was supposed to use '.' as the decimal separator and ',' as the thousands separator according to CLDR seems to do the opposite according to these government inflation and labor reports:
http:// www.bcrp. gob.pe/ docs/Publicacio nes/Reporte- Inflacion/ 2010/marzo/ Reporte- de-Inflacion- Marzo-2010. pdf www.inei. gob.pe/ biblioineipub/ bancopub/ Est/Lib0909/ libro.pdf
http://
Thus es_PE is correct as-is.