Re: Allowed timezone values

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: pgman(at)candle(dot)pha(dot)pa(dot)us
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Allowed timezone values
Date: 2005-10-14 09:35:35
Message-ID: 20051014.183535.70222874.ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Also, JST doesn't work anymore, but JST9 does. JST has no daylight
> savings time values, so it is a valid timezone setting, while EST is
> not:
>
> test=> set timezone = 'JST';
> ERROR: unrecognized time zone name: "JST"
>
> test=> set timezone = 'JST9';
> SET

Note that JST and JST9 are completely different timezone. I'm not
sure this is correct or not...

test=# select '2005-10-14 18:00' at time zone 'JST';
timezone
---------------------
2005-10-15 08:00:00
(1 row)

test=# select '2005-10-14 18:00' at time zone 'JST9';
timezone
---------------------
2005-10-14 14:00:00
(1 row)
--
SRA OSS, Inc. Japan
Tatsuo Ishii

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-10-14 11:40:27 Re: Allowed timezone values
Previous Message Thomas Hallgren 2005-10-14 09:14:34 Re: Link problems with HEAD