This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/19133] Lowercase months in Portuguese language
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 14 Oct 2015 17:21:07 +0000
- Subject: [Bug locale/19133] Lowercase months in Portuguese language
- Auto-submitted: auto-generated
- References: <bug-19133-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19133
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |carlos at redhat dot com
--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to ivofernandes12 from comment #0)
> I don't know if this is the right place.. If not I'm sorry :)
I can't reproduce this.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <locale.h>
int
main (void)
{
time_t rawtime;
const struct tm *ltime;
char buf[1024];
time (&rawtime);
ltime = localtime (&rawtime);
setlocale (LC_ALL, "pt_BR.UTF-8");
strftime (buf, 1024, "%A, %e de %B de %Y", ltime);
printf ("%s\n", buf);
exit (0);
}
gcc -std=gnu99 -Wall -pedantic -o date date.c
quarta, 14 de outubro de 2015
Use of %B produces correctly lower-cased month name for pt_BR locale.
Please specify which locale and which version of glibc you are using.
Please provide a test program.
--
You are receiving this mail because:
You are on the CC list for the bug.