Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16356 invoked from network); 20 Dec 2011 11:07:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Dec 2011 11:07:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:33584] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 90/94-16374-96C60FE4 for ; Tue, 20 Dec 2011 06:07:23 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id A8C17DE13E; Tue, 20 Dec 2011 11:07:18 +0000 (GMT) Date: Tue, 20 Dec 2011 11:07:18 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: David Muir cc: PHP Developers Mailing List In-Reply-To: <4EEFD86D.8090905@gmail.com> Message-ID: References: <8D58A664-7250-4FEE-9424-2D2DEFC69308@inbox.lv> <1C397FE3-76E2-473B-B47F-194DAF3ACB39@inbox.lv> <4EE91556.3040909@sugarcrm.com> <4EE91FDE.1060005@sugarcrm.com> <4EEFD86D.8090905@gmail.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Local time zone From: derick@php.net (Derick Rethans) On Tue, 20 Dec 2011, David Muir wrote: > Keeping the tz database up to date is a very annoying issue. System tz > data is typically more up-to-date as it's pushed to the user, while with > php, you need to have admin rights to install an updated tz database, or > hope that the packager for your distro (or your web-host) does it for > you. Distributions should push the tzdata for PHP just like they do for Java. Nothing stops them from doing that. > As far as I can tell, most hosts do not update timezone data from > PECL. I just checked one host that is still on 5.2: > > date/time support enabled > "Olson" Timezone Database Version 2010.9 > Timezone Database internal > Default timezone UTC > > Sigh... > > Ubuntu however reports 0.system as the tz version. Does that mean that > PHP there is using the system's tz database instead? It means that they have a crap patch that scans the file system... and destroys some information that PHP users need to be able to rely on. Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug