pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #6638: Casablanca timezone is wrong
4+ messages / 4 participants
[nested] [flat]
* BUG #6638: Casablanca timezone is wrong
@ 2012-05-14 15:21 dchuet@odotech.com
0 siblings, 2 replies; 4+ messages in thread
From: dchuet@odotech.com @ 2012-05-14 15:21 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 6638
Logged by: David Chuet
Email address: dchuet@odotech.com
PostgreSQL version: 9.0.7
Operating system: Windows 7 x64
Description:
Using Postgresql command :
------------------------------------------
SELECT * FROM pg_timezone_names
------------------------------------------
We get for Africa/Casablanca, timezone equal to WET with no DST.
This is not true from 2010.
See Wikipedia, for Morocco:
Time zone WET (UTC+0)
Summer (DST) WEST (UTC+1)(May 2nd to August 7th)
So, I cannot set correctly the DateTime for an install in Morocco.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #6638: Casablanca timezone is wrong
@ 2012-05-14 15:39 Tom Lane <tgl@sss.pgh.pa.us>
parent: dchuet@odotech.com
1 sibling, 0 replies; 4+ messages in thread
From: Tom Lane @ 2012-05-14 15:39 UTC (permalink / raw)
To: dchuet@odotech.com; +Cc: pgsql-bugs
dchuet@odotech.com writes:
> We get for Africa/Casablanca, timezone equal to WET with no DST.
> This is not true from 2010.
> See Wikipedia, for Morocco:
I wouldn't necessarily trust Wikipedia for that. We use the IANA
(nee Olson) timezone database. If you think the information in that
is wrong, you should take it up with the upstream maintainers:
http://www.iana.org/time-zones
As far as I can tell from a quick look in their mailing list archives,
the timezone data shipped with 9.0.7 is correct for Morocco through
2011. It does not know about the 2012 DST law that was just published
a few weeks ago, but unless you can provide use of a time machine,
there's not a lot we can do about that. We customarily update to the
latest timezone data files available from IANA whenever Postgres update
releases are made. If you are in a bigger hurry than that, you can get
the latest tzdata files from the above-mentioned page and drop them into
the timezone directory in your installation.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #6638: Casablanca timezone is wrong
@ 2012-05-14 15:50 Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
parent: dchuet@odotech.com
1 sibling, 1 reply; 4+ messages in thread
From: Heikki Linnakangas @ 2012-05-14 15:50 UTC (permalink / raw)
To: dchuet@odotech.com; +Cc: pgsql-bugs
On 14.05.2012 18:21, dchuet@odotech.com wrote:
> We get for Africa/Casablanca, timezone equal to WET with no DST.
>
> This is not true from 2010.
> See Wikipedia, for Morocco:
>
> Time zone WET (UTC+0)
> Summer (DST) WEST (UTC+1)(May 2nd to August 7th)
PostgreSQL uses the timezone data from the so-called Olson library. See
http://www.twinsun.com/tz/tz-link.htm. Looking at the upstream library,
this is fixed in the most recent version (tzdata2012c), We will pick up
that change in the next PostgreSQL minor release, ie. 9.0.8 for the 9.0
series.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #6638: Casablanca timezone is wrong
@ 2012-05-14 16:01 David Chuet <dchuet@odotech.com>
parent: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
0 siblings, 0 replies; 4+ messages in thread
From: David Chuet @ 2012-05-14 16:01 UTC (permalink / raw)
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>; +Cc: pgsql-bugs
Thanks guys for your prompt support!
I'm going to update Olson library on the concerned computer using the latest files.
Thanks again.
David Chuet
Odotech inc.
-----Original Message-----
From: Heikki Linnakangas [mailto:heikki.linnakangas@enterprisedb.com]
Sent: May-14-12 11:51 AM
To: David Chuet
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #6638: Casablanca timezone is wrong
On 14.05.2012 18:21, dchuet@odotech.com wrote:
> We get for Africa/Casablanca, timezone equal to WET with no DST.
>
> This is not true from 2010.
> See Wikipedia, for Morocco:
>
> Time zone WET (UTC+0)
> Summer (DST) WEST (UTC+1)(May 2nd to August 7th)
PostgreSQL uses the timezone data from the so-called Olson library. See http://www.twinsun.com/tz/tz-link.htm. Looking at the upstream library, this is fixed in the most recent version (tzdata2012c), We will pick up that change in the next PostgreSQL minor release, ie. 9.0.8 for the 9.0 series.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2012-05-14 16:01 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-05-14 15:21 BUG #6638: Casablanca timezone is wrong dchuet@odotech.com
2012-05-14 15:39 ` Tom Lane <tgl@sss.pgh.pa.us>
2012-05-14 15:50 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2012-05-14 16:01 ` David Chuet <dchuet@odotech.com>
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