Re: Bug in function to_char() !!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Najib Abi Fadel" <nabifadel(at)usj(dot)edu(dot)lb>
Cc: "generalpost" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Bug in function to_char() !!
Date: 2004-07-01 14:52:30
Message-ID: 27250.1088693550@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Najib Abi Fadel" <nabifadel(at)usj(dot)edu(dot)lb> writes:
> SELECT to_char('2005-03-27'::date,'DD/MM/YYYY');
> to_char
> ------------
> 26/03/2005
> (1 row)

What timezone setting are you using, and what kind of system is this on?
I suppose that day is a daylight-savings transition day for you, but no
one else is likely to reproduce the problem in a different zone ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thierry Missimilly 2004-07-01 14:59:18 Run a unix or perl command in a trigger
Previous Message Bill Montgomery 2004-07-01 14:49:16 Re: backups