pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vik Fearing <vik.fearing@dalibo.com>
Cc: valentin.gora@vitheia.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9955: The time zone value for South Africa (SAST) is 01:00:00 not 09:30:00
Date: Fri, 11 Apr 2014 17:35:00 -0400
Message-ID: <20680.1397252100@sss.pgh.pa.us> (raw)
In-Reply-To: <534859AA.60604@dalibo.com>
References: <20140411131033.10532.38164@wrigleys.postgresql.org>
	<30780.1397235277@sss.pgh.pa.us>
	<534859AA.60604@dalibo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Vik Fearing <vik.fearing@dalibo.com> writes:
> On 04/11/2014 06:54 PM, Tom Lane wrote:
>> This isn't terribly helpful.  What do you think should be changed,
>> exactly, and to what?

> It's in the subject.  The SAST utc_offset is incorrect for South Africa
> and shows instead South Australia because the abbreviation is
> ambiguous.  Not sure if there's anything to do about that.

Oh, I failed to read the wrapped-around part of the subject line :-(

We do have a plan for dealing with ambiguous abbreviations, but it
seems like it's not being followed here.  (Looking at the comments in
the africa timezone file, it seems like SAST may be a relatively recent
newcomer to the IANA TZ database; so perhaps we missed doing something
about it when it was added.)

To wit: there's already an Australia-specific timezone abbreviation file
that Aussies are supposed to install if they want their zone abbreviations
to be recognized in preference to other meanings given to the same
abbreviations elsewhere in the world.  Given that, it seems like SAST
ought to mean the South African zone by default, and you get the Aussie
version only if the "Australia" abbreviation set is installed.

BTW, the IANA database says that the SA meaning for SAST is +2:00,
not +1:00.  If the OP really wants us to use +1:00 he'd better present
some evidence that IANA is wrong.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)

Message-ID: <20680.1397252100@sss.pgh.pa.us>
Permalink:  ../20680.1397252100@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20680.1397252100@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vik.fearing@dalibo.com, valentin.gora@vitheia.com
  Subject: Re: BUG #9955: The time zone value for South Africa (SAST) is 01:00:00 not 09:30:00
  In-Reply-To: <20680.1397252100@sss.pgh.pa.us>
  References: <20140411131033.10532.38164@wrigleys.postgresql.org> <30780.1397235277@sss.pgh.pa.us> <534859AA.60604@dalibo.com> <20680.1397252100@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox