Re: Difference when using ZIC vs. Timezone Abbr - Bug? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Difference when using ZIC vs. Timezone Abbr - Bug?
Date
Msg-id 20080822011725.GX4169@alvh.no-ip.org
Whole thread Raw
In response to Re: Difference when using ZIC vs. Timezone Abbr - Bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Difference when using ZIC vs. Timezone Abbr - Bug? - SOLVED  (Dave Witt <dwitt@movenetworks.com>)
List pgsql-hackers
Tom Lane wrote:
> Dave Witt <dwitt@movenetworks.com> writes:
> > These two queries produce different output, using version 8.3.3:
> > SELECT '2008-01-01 00:00:00+00'::timestamptz AT TIME ZONE 'MDT';
> > SELECT '2008-01-01 00:00:00+00'::timestamptz AT TIME ZONE 'America/Boise';
> 
> Why are you surprised?  Boise would've been on MST not MDT on that date.

i.e. try using MST7MDT instead, which behaves more sanely.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [FINALLY] the TODO list has migrated to Wiki
Next
From: Alvaro Herrera
Date:
Subject: Re: Proposal: new border setting in psql