Skip site navigation (1) Skip section navigation (2)

Re: Difference when using ZIC vs. Timezone Abbr - Bug?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dave Witt <dwitt(at)movenetworks(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Difference when using ZIC vs. Timezone Abbr - Bug?
Date: 2008-08-22 01:17:25
Message-ID: 20080822011725.GX4169@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Tom Lane wrote:
> Dave Witt <dwitt(at)movenetworks(dot)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.

In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2008-08-22 01:19:58
Subject: Re: Proposal: new border setting in psql
Previous:From: Bruce MomjianDate: 2008-08-22 01:13:10
Subject: Re: [HACKERS] [FINALLY] the TODO list has migrated to Wiki

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group