Re: postgre 7.3 / JSTL problem - Mailing list pgsql-jdbc

From Charl Gerber
Subject Re: postgre 7.3 / JSTL problem
Date
Msg-id 20050307202153.35235.qmail@web41208.mail.yahoo.com
Whole thread Raw
In response to postgre 7.3 / JSTL problem  (Charl Gerber <charlgerber@yahoo.com>)
List pgsql-jdbc
I tried not setting a timezone and then doing:

SET TIME ZONE 'Europe/Amsterdam'

In both cases the JSTL <fmt:formatDate did not work. I
might have to try with no timezone settings in the
code.

In the second case, after setting the timezone, it
showed the time 7 hours too early.... hmmm. weird.

--- Oliver Jowett <oliver@opencloud.com> wrote:
> Charl Gerber wrote:
>
> > I have database timestamp fields which are defined
> as
> > "DEFAULT now()".
>
> timestamp with timezone or timestamp without
> timezone?
>
> > Any ideas? A bug in the driver? JSTL settings? The
> > server? My code? :)
>
> It's pretty much impossible to say unless you can
> narrow this down to
> some test code that we can try (ideally, code that
> talks JDBC directly).
>
> -O
>

pgsql-jdbc by date:

Previous
From: Charl Gerber
Date:
Subject: Re: Convert java.sql.Date to java.util.Date
Next
From: Oliver Jowett
Date:
Subject: Re: [BUGS] BUG #1523: precision column value returned from