Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56884 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95315 invoked from network); 12 Dec 2011 13:45:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2011 13:45:25 -0000 Received: from [127.0.0.1] ([127.0.0.1:24277]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 44/02-17834-57506EE4 for ; Mon, 12 Dec 2011 08:45:25 -0500 Authentication-Results: pb1.pair.com smtp.mail=evert.pot@filemobile.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=evert.pot@filemobile.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain filemobile.com designates 209.85.215.170 as permitted sender) X-PHP-List-Original-Sender: evert.pot@filemobile.com X-Host-Fingerprint: 209.85.215.170 mail-ey0-f170.google.com Received: from [209.85.215.170] ([209.85.215.170:38910] helo=mail-ey0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/B1-17834-FF106EE4 for ; Mon, 12 Dec 2011 08:30:40 -0500 Received: by eaai11 with SMTP id i11so1085486eaa.29 for ; Mon, 12 Dec 2011 05:30:36 -0800 (PST) Received: by 10.213.9.148 with SMTP id l20mr3093998ebl.44.1323696635908; Mon, 12 Dec 2011 05:30:35 -0800 (PST) Received: from [192.168.1.105] (dhcp-077-249-003-105.chello.nl. [77.249.3.105]) by mx.google.com with ESMTPS id 76sm18164791eeh.0.2011.12.12.05.30.34 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Dec 2011 05:30:34 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) In-Reply-To: Date: Mon, 12 Dec 2011 14:30:32 +0100 Content-Transfer-Encoding: quoted-printable Message-ID: References: To: internals@lists.php.net X-Mailer: Apple Mail (2.1251.1) Subject: Re: [PHP-DEV] Local time zone From: evert.pot@filemobile.com (Evert Pot) On Dec 11, 2011, at 1:07 PM, Pierre Joye wrote: > hi, >=20 > On Sun, Dec 11, 2011 at 1:59 AM, Oleg Oshmyan = wrote: >=20 >> I am willing to work on patches but I suppose some consensus should = be >> reached first. >=20 > The consensus was that you have to set a valid default timezone in = php.ini I feel there may be a lot of value for people being able to install PHP = applications and run them without any additional configuration. What would be the recommended way to have PHP reflect the systems = timezone? I like the PHP 5.4.0 behaviour of defaulting to UTC if it's not setup, = but would it be possible to get the old functionality through a = warning-less 'date_guess_system_timezone'.=20 The 'guess' in the function-name should be enough of a warning. People = who opt-in to this behaviour explicitly comply to the possible = inaccuracy of the result. I would be one of those people, and as much as = it may disturb you; I feel I'm not alone. Evert=