Bug 167073

Summary: No am/pm information with locale es_ES
Product: Red Hat Enterprise Linux 4 Reporter: javier wilson <javier>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www.guegue.com/~javier/php/ampm.php
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-30 09:40:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description javier wilson 2005-08-29 22:37:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6

Description of problem:
I get no am/pm information with locale es_ES, I do get it when using en_US.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. run the following code:
setlocale(LC_TIME, "es_ES");
print "Time (es_ES): " . strftime("%I:%M %p") . "<br>\n";
setlocale(LC_TIME, "en_US");
print "Time (en_US): " . strftime("%I:%M %p") . "<br>\n";


Actual Results:  Time (es_ES): 05:36
Time (en_US): 05:36 PM

Expected Results:  Time (es_ES): 05:36 PM
Time (en_US): 05:36 PM

Additional info:

Comment 1 Joe Orton 2005-08-30 09:40:06 UTC
Thanks for the report.

I would presume that Spanish does not have an AM/PM abbreviation like many
European languages; there is none in the glibc locale database anyway.  Please
reopen and refile against glibc if there is a Spanish AM/PM abbreviation which
is missing from glibc.