pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Charl Gerber <charlgerber@yahoo.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: postgre 7.3 / JSTL problem
Date: Mon, 7 Mar 2005 20:21:53 +0000 (GMT)
Message-ID: <20050307202153.35235.qmail@web41208.mail.yahoo.com> (raw)

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
> 



view thread (3+ messages)

Message-ID: <20050307202153.35235.qmail@web41208.mail.yahoo.com>
Permalink:  ../20050307202153.35235.qmail@web41208.mail.yahoo.com/
Also on:    postgresql.org/message-id/20050307202153.35235.qmail@web41208.mail.yahoo.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: charlgerber@yahoo.com, oliver@opencloud.com
  Subject: Re: postgre 7.3 / JSTL problem
  In-Reply-To: <20050307202153.35235.qmail@web41208.mail.yahoo.com>
  References: <20050307202153.35235.qmail@web41208.mail.yahoo.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