From: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> |
---|---|
To: | Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Amin Schoeib <aschoeib(at)4tek(dot)de>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Localization (for dates) Oracle vs. Postgresql |
Date: | 2003-09-04 07:32:25 |
Message-ID: | 20030904073224.GA21790@zf.jcu.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Sep 03, 2003 at 05:04:35PM -0500, Manuel Sugawara wrote:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>
> > "Amin Schoeib" <aschoeib(at)4tek(dot)de> writes:
> > > When I would execute this:
> > > select to_char(now(),'DD.Month,YYYY')
> > > I would get the monthname in english but how can I perform with to_char
> > > That I become the monthname in german??
> >
> > Karel, isn't there a way to get localized month names using
> > to_char() ? I thought there was, but I don't see anything about it
> > in the manual.
>
> I sent the patch long time ago and it was rejected by Karel :-(. I can
> work on this again but I can't remember exactly why it was rejected, I
> think Karel and I didn't reach agreement on the API.
Yes.
Note about to_char() future: I think about library for date/time and numbers
formatting, because it's feature interesting for more projects. The
basic features:
* better date/time, numbers and format pictures parser (maybe based on flex+bison)
* full locale support - independent on actual locale setting
* bidirectional conversion of roman numbers
* numbers spelling
* string to string formatting
Karel
--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/
From | Date | Subject | |
---|---|---|---|
Next Message | Bupp Phillips | 2003-09-04 07:36:27 | descending Indexes |
Previous Message | Tom Lane | 2003-09-04 06:33:05 | Re: Optimizer picks an ineffient plan |