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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: 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: to_char and i18n
  • Date: Sun, 25 Dec 2005 17:56:03 -0300 (ART)
  • Message-id: <20051225205603(dot)54434(dot)qmail(at)web32702(dot)mail(dot)mud(dot)yahoo(dot)com>

--- 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: 1242239392-i18n-date.diff



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group