pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gouse <gkhaji@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: to_timestamp returns the incorrect result for the DST fall over time.
Date: Tue, 4 Jan 2011 09:17:05 -0800 (PST)
Message-ID: <1294161425291-3327393.post@n5.nabble.com> (raw)


Hi 

I find that the to_timestamp giving the incorrect result for the DST time
period.


select to_timestamp('2010-03-28 01:00:03 243','YYYY-MM-DD HH24:MI:SS.MS')
results '2010-03-28 02:00:03.243 + 01'  , I am not sure if this is correct.

select to_timestamp('2010-03-28 02:00:03 243','YYYY-MM-DD HH24:MI:SS.MS')
results '2010-03-28 02:00:03.243 + 01'

Note- The clokc on the system was GMT London.  The date 2010-03-28 is the
day of the DST.
Postgres DB versoin is 8.0

Thanks,
Gouse


-- 
View this message in context: http://postgresql.1045698.n5.nabble.com/to-timestamp-returns-the-incorrect-result-for-the-DST-fall-o...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.



view thread (7+ messages)  latest in thread

Message-ID: <1294161425291-3327393.post@n5.nabble.com>
Permalink:  ../1294161425291-3327393.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1294161425291-3327393.post@n5.nabble.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-bugs@postgresql.org
  Cc: gkhaji@gmail.com
  Subject: Re: to_timestamp returns the incorrect result for the DST fall over time.
  In-Reply-To: <1294161425291-3327393.post@n5.nabble.com>
  References: <1294161425291-3327393.post@n5.nabble.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