Re: How to get localized to_char(DATE) output

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: How to get localized to_char(DATE) output
Дата
Msg-id hrtod0$hom$1@dough.gmane.org
обсуждение исходный текст
Ответ на Re: How to get localized to_char(DATE) output  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Tom Lane, 06.05.2010 00:51:
> Thomas Kellerer<spam_eater@gmx.net>  writes:
>> I'm trying to get the output of the to_char(date, text) method in German but I can't get it to work:
>
> I think you need 'TMMon' to get a localized month name.
>
>             regards, tom lane
>
Ah! Silly me. Now that you write this I can see it in the manual ;)

The manual says the value for lc_time is OS dependent and indeed "set lc_time = 'German'" does not work on Solaris.

Is there a way to get a list of allowed values for lc_time for a specific installation?

Thanks for your help

Thomas 






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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to get localized to_char(DATE) output
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: How to get localized to_char(DATE) output