Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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: i18n-date.diff
Description: application/octet-stream (12.2 KB)

In response to

Responses

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group