Re: TODO item:Allow to_date() and to_timestamp() accept localized month names - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: TODO item:Allow to_date() and to_timestamp() accept localized month names
Date
Msg-id 20080205015925.GO16380@alvh.no-ip.org
Whole thread Raw
In response to Re: TODO item:Allow to_date() and to_timestamp() accept localized month names  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: TODO item:Allow to_date() and to_timestamp() accept localized month names
Re: TODO item:Allow to_date() and to_timestamp() accept localized month names
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql: configure tag'd 8.3.0 and built witih autoconf 2.59
Next
From: Tom Lane
Date:
Subject: Re: TODO item:Allow to_date() and to_timestamp() accept localized month names