Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19262 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48866 invoked by uid 1010); 28 Sep 2005 13:00:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48848 invoked from network); 28 Sep 2005 13:00:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Sep 2005 13:00:45 -0000 X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:6813] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 53/A1-54476-DF39A334 for ; Wed, 28 Sep 2005 09:00:45 -0400 Received: from foxbox (1Cust190.tnt15.lnd4.gbr.da.uu.net [62.188.144.190]) by gw2.emini.dk (Postfix) with ESMTP id 9F5518610F; Wed, 28 Sep 2005 15:00:29 +0200 (CEST) Message-ID: <065b01c5c42c$a2cc99d0$d79cbc3e@foxbox> Reply-To: "Steph" To: "Derick Rethans" , "Stanislav Malyshev" Cc: "PHP Developers Mailing List" References: <43393A43.4070805@lsces.co.uk> <43397E48.7080107@lsces.co.uk> <43398CB6.9030808@lsces.co.uk> Date: Wed, 28 Sep 2005 14:00:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Re: [PHP-DEV] timezones & date() breakage From: steph@zend.com ("Steph") > I wouldn't call it broken, just less inituitive. But besides that point, > I looked at some data and have a patch that allows the timezone guessing > code to also check against the GMT offset, and not only the > abbreviation. This means that with these DB entries: > > { "idt", 1, -HOUR ( 3), "Asia/Tel_Aviv" }, > { "idt", 1, -HOUR (4.5), "Iran/Teheran" }, > { "idt", 1, -HOUR (6.5), "Asia/Calcutta" }, > > IDT will be recognised correctly for all three variations. Cool, you can generate a sane E_STRICT from that too (telling people what they need in their php.ini to speed things up).