Re: BUG #14337: "HDT" time zone is not recognized by PostreSQL 9.5

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: pszegheo(at)itnnetworks(dot)com
Cc: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14337: "HDT" time zone is not recognized by PostreSQL 9.5
Date: 2016-09-23 20:48:44
Message-ID: CAEepm=0Q5k0dubE7iGh8GKxTeiEBhv=o9x6PFPKjKHGApgN-sQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Sep 24, 2016 at 7:52 AM, <pszegheo(at)itnnetworks(dot)com> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 14337
> Logged by: Pavol Szegheo
> Email address: pszegheo(at)itnnetworks(dot)com
> PostgreSQL version: 9.5.4
> Operating system: Windows 10
> Description:
>
> "HDT" time zone is not recognized by PostreSQL 9.5
>
> Neither are the more modern HADT and HAST time zones recognized by PostreSQL
> 9.5
>
> So, the only Hawaiian timezone recognized by PostreSQL 9.5 is HST, thus the
> following would run fine:
> SELECT TIMESTAMP '2013-08-13 00:00:00' AT TIME ZONE 'HST';
>
> While all these would fail:
>
> SELECT TIMESTAMP '2013-08-13 00:00:00' AT TIME ZONE 'HDT';
>
> SELECT TIMESTAMP '2013-08-13 00:00:00' AT TIME ZONE 'HADT';
>
> SELECT TIMESTAMP '2013-08-13 00:00:00' AT TIME ZONE 'HAST';
>
> e.g.:
> SELECT TIMESTAMP '2013-08-13 00:00:00' AT TIME ZONE 'HDT';
> /*
> Example output:
> ERROR: time zone "HDT" not recognized
> ********** Error **********
>
> ERROR: time zone "HDT" not recognized
> SQL state: 22023
> */

Hawaii doesn't do daylight savings.

BTW Most people would advise you to use 'Pacific/Honolulu' instead.

--
Thomas Munro
http://www.enterprisedb.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2016-09-23 20:56:59 Re: BUG #14337: "HDT" time zone is not recognized by PostreSQL 9.5
Previous Message pszegheo 2016-09-23 19:52:17 BUG #14337: "HDT" time zone is not recognized by PostreSQL 9.5