Talk About Network

Google




Play Stock Market Games
Fantasy Stock Picking Contest

Data Bases > Pgsql Bugs > BUG #4100: GMT ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3691 of 3967
Post > Topic >>

BUG #4100: GMT offsets are wrong

by pdcoxhead@[EMAIL PROTECTED] ("Peter Coxhead") Apr 8, 2008 at 02:30 AM

The following bug has been logged online:

Bug reference:      4100
Logged by:          Peter Coxhead
Email address:      pdcoxhead@[EMAIL PROTECTED]
 version: 7.4
Operating system:   Linux
Description:        GMT offsets are wrong
Details: 

I find the results to selecting the time in a GMT offset are backwards, so

SET TIME ZONE "GMT+10:00";
SELECT NOW();

gives "2008-04-07 16:23:28.877908-10" which is a time in the western
hemisphere and 

SET TIME ZONE "GMT-10:00";
SELECT NOW();

"2008-04-08 12:27:27.268616+10"

gives a time in the eastern hemisphere.  The time zone I was trying to get
was Australia/Brisbane time (GMT+10:00 i.e. 01:00 in London = 11:00
GMT+10:00).

I think I checked this on an 8.2 version of postgres with the same results
(and was mildly surprised to see it still there).

Let me know if I'm doing something daft, I don't think I am though.

Peter

PS I know there's an 'Australia/Brisbane' time zone I can use

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 3 Posts in Topic:
BUG #4100: GMT offsets are wrong
pdcoxhead@[EMAIL PROTECTE  2008-04-08 02:30:36 
Re: BUG #4100: GMT offsets are wrong
magnus@[EMAIL PROTECTED]   2008-04-08 10:17:21 
Re: BUG #4100: GMT offsets are wrong
tgl@[EMAIL PROTECTED] (T  2008-04-08 10:20:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Aug 8 12:43:36 CDT 2008.