From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: hfuxelius@gmail.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6340: to_timestamp() miscalculates
Date: Thu, 15 Dec 2011 10:20:15 -0600
Message-ID: <4EE9C9DF0200002500043D02@gw.wicourts.gov> (raw)
wrote:
> test to run: select to_timestamp('2011,03,27,02,11,11',
> 'YYYY,MM,DD,HH24,MI,SS')
>
> and the run: select to_timestamp('2011,03,27,03,11,11',
> 'YYYY,MM,DD,HH24,MI,SS')
>
> It miscalculates 02 hour to 03 hour by some reason
I don't know what time zone you're in, or whether daylight saving
time kicks in on that date. *Is* there a 02:11:11 on that date, or
is that when time "springs forward" by an hour in the spring for your
locale?
-Kevin
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: Kevin.Grittner@wicourts.gov, hfuxelius@gmail.com
Subject: Re: BUG #6340: to_timestamp() miscalculates
In-Reply-To: <4EE9C9DF0200002500043D02@gw.wicourts.gov>
References: <4EE9C9DF0200002500043D02@gw.wicourts.gov>
* 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