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

From: Dave Witt <dwitt(at)movenetworks(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Difference when using ZIC vs. Timezone Abbr - Bug? - SOLVED
Date: 2008-08-22 15:30:04
Message-ID: 48AEDB7C.3060203@movenetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ah.. my definition of MDT was flawed; thanks for the help!

Alvaro Herrera wrote:
> 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Brendan Jurd 2008-08-22 16:26:14 Re: [HACKERS] [FINALLY] the TODO list has migrated to Wiki
Previous Message Bruce Momjian 2008-08-22 14:31:27 Re: Does anything dump per-database config settings? (was Re: ALTER DATABASE vs pg_dump)