Re: TODO item:Allow to_date() and to_timestamp() accept localized month names

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: TODO item:Allow to_date() and to_timestamp() accept localized month names
Дата
Msg-id 20080205015925.GO16380@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: TODO item:Allow to_date() and to_timestamp() accept localized month names  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: TODO item:Allow to_date() and to_timestamp() accept localized month names  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: TODO item:Allow to_date() and to_timestamp() accept localized month names  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tom Lane wrote:
> "Gevik Babakhani" <pgdev@xs4all.nl> writes:
> >> Surely it should be the inverse of the solution for output, 
> >> eg TMMon selects localized input.
> 
> > Of cource. But how would TM enforce a localized formatting. (perhaps I am
> > off....  2:10 am...)
> > Lets say I have en_US database but the dates I am trying to format is nl_NL.
> > If I am not mistaking SET LC_MESSAGES won't help.
> 
> Works for me:

Nevertheless, I think there's something interesting missing here, which
is a sort of strftime's %c format string.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: configure tag'd 8.3.0 and built witih autoconf 2.59
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TODO item:Allow to_date() and to_timestamp() accept localized month names