pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Richard Cook <awhig@yahoo.com>
Cc: imad <immaad@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Bug in TimestampUtils.java?
Date: Fri, 10 Nov 2006 06:20:05 +0000
Message-ID: <45541A15.3010008@opencloud.com> (raw)
In-Reply-To: <20061109223752.62560.qmail@web60221.mail.yahoo.com>
References: <20061109223752.62560.qmail@web60221.mail.yahoo.com>

Richard Cook wrote:

> If you look at the source code for the postgres jdbc driver, it 
> retrieves the column as a string, then uses the TimeStampUtils class to 
> create a date or timestamp out of it. I think the driver is incorrectly 
> setting the timezone when it creates the Date object.

I missed the original post here, but if you retrieve the result as a 
String what do you get? (the exact value please) .. and how does that 
compare to the Date you get?

-O



view thread (8+ messages)  latest in thread

Message-ID: <45541A15.3010008@opencloud.com>
Permalink:  ../45541A15.3010008@opencloud.com/
Also on:    postgresql.org/message-id/45541A15.3010008@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, awhig@yahoo.com, immaad@gmail.com
  Subject: Re: Bug in TimestampUtils.java?
  In-Reply-To: <45541A15.3010008@opencloud.com>
  References: <20061109223752.62560.qmail@web60221.mail.yahoo.com> <45541A15.3010008@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox