View Single Post

   
  #2 (permalink)  
Old 04-10-2008, 09:48 AM
Tom Lane
 
Posts: n/a
Default Re: BUG #2304: Time zone bug: '05:04 GMT+3' processing as '05:04:00 -03'

"Alexander Pivovarov" <apivovarov@gmail.com> writes:
> # select '05:04 GMT+3'::time with time zone;
> timetz
> -------------
> 05:04:00-03
> (1 row)


This isn't a bug; it's expected. The "GMT+n" syntax is defined by a
different standard than the one we follow for timestamp output, and
the two standards don't agree about sign. It's unfortunate but there's
not a lot we can do about it.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply With Quote