Re: Day and month name localization uses wrong locale category

Поиск
Список
Период
Сортировка
От Euler Taveira de Oliveira
Тема Re: Day and month name localization uses wrong locale category
Дата
Msg-id 20061118031637.GB3075@timbira.com
обсуждение исходный текст
Ответ на Day and month name localization uses wrong locale category  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Day and month name localization uses wrong locale category  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut wrote:

> pei@bell:~$ date +%A
> Friday
> 
> pei@bell:~$ LC_MESSAGES=de_DE@euro date +%A
> Friday
> 
> pei@bell:~$ LC_TIME=de_DE@euro date +%A
> Freitag
> 
> Is there no API to get the localized names from the C library so that LC_TIME 
> takes effect?
> 
What about using strftime()? So we couldn't worry about gettext
translations; "all" is localized.
Why didn't I think it before? :-)

I'll try to code a patch today later if noone objects.

PS> I was thinking about changing this for the same reasons Peter
pointed out; I didn't have the time to do it before. 

--  Euler Taveira de Oliveira http://www.timbira.com/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Clarify description of CIDR-address
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Clarify description of CIDR-address column