| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Gevik Babakhani <pgdev(at)xs4all(dot)nl>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: TODO item:Allow to_date() and to_timestamp() accept localized month names |
| Date: | 2008-02-05 01:59:25 |
| Message-ID: | 20080205015925.GO16380@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> "Gevik Babakhani" <pgdev(at)xs4all(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2008-02-05 02:10:51 | Re: TODO item:Allow to_date() and to_timestamp() accept localized month names |
| Previous Message | Tom Lane | 2008-02-05 01:36:47 | Re: Re: [COMMITTERS] pgsql: configure tag'd 8.3.0 and built witih autoconf 2.59 |