Re: to_char and i18n

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Manuel Sugawara <masm@fciencias.unam.mx>
Cc: pgsql-hackers@postgresql.org, Karel Zak <zakkr@zf.jcu.cz>
Date: 2005-12-22T04:50:14Z
Lists: pgsql-hackers
Manuel Sugawara <masm@fciencias.unam.mx> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> I thought to_char already had i18n behavior.  What exactly are you
>> thinking of changing?

> The modifiers that are suitable to localize. Month and day names comes
> to mind and maybe others, I'm not sure what the state of the code is,
> but I can say that, at least, the 'month' and 'day' modifiers does not
> behave in a localized way.

Can we spell the names differently but keep to the same field widths?
I can see where it might cause problems to change the widths --- other
than that, no objection.

			regards, tom lane