Re: [HACKERS] to_char and i18n

From: Euler Taveira de Oliveira <eulerto(at)yahoo(dot)com(dot)br>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] to_char and i18n
Date: 2005-12-25 20:56:03
Message-ID: 20051225205603.54434.qmail@web32702.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

--- Euler Taveira de Oliveira <eulerto(at)yahoo(dot)com(dot)br> escreveu:

> I have a patch like this. But this was for 7.4.x. I have to take a
> look
> at it.
>
The patch is attached. It implements day and month i18n. I fixed a few
misspelling comments. Docs is attached too.

template1=# select to_char(now(), 'Day, DD Month YYYY');
to_char
------------------------------
Sunday , 25 December 2005
(1 registro)

template1=# select to_char(now(), 'TMDay, DD TMMonth YYYY');
to_char
---------------------------
Domingo, 25 Dezembro 2005
(1 registro)

template1=#

Comments?

Euler Taveira de Oliveira
euler[at]yahoo_com_br



_______________________________________________________
Yahoo! doce lar. Faça do Yahoo! sua homepage.
http://br.yahoo.com/homepageset.html

Attachment Content-Type Size
i18n-date.diff application/octet-stream 12.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Qingqing Zhou 2005-12-25 22:04:02 Re: Incremental Backup Script
Previous Message Martijn van Oosterhout 2005-12-25 13:10:07 Re: Fixing row comparison semantics

Browse pgsql-patches by date

  From Date Subject
Next Message Qingqing Zhou 2005-12-25 21:44:41 Re: Improve XLOG_NO_TRAN related comments
Previous Message Tatsuo Ishii 2005-12-25 09:50:01 Re: [BUGS] BUG #2120: Crash when doing UTF8<->ISO_8859_8