Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id C4896137D6F4 for ; Mon, 14 May 2012 12:39:57 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1STxNM-0002fN-3T for pgsql-bugs@postgresql.org; Mon, 14 May 2012 15:39:57 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q4EFdhFv010017; Mon, 14 May 2012 11:39:43 -0400 (EDT) To: dchuet@odotech.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6638: Casablanca timezone is wrong In-reply-to: References: Comments: In-reply-to dchuet@odotech.com message dated "Mon, 14 May 2012 15:21:19 -0000" Date: Mon, 14 May 2012 11:39:42 -0400 Message-ID: <10016.1337009982@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201205/78 X-Sequence-Number: 33049 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