Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47529 invoked from network); 16 Feb 2015 09:55:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Feb 2015 09:55:23 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; 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:45343] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/9A-05176-98EB1E45 for ; Mon, 16 Feb 2015 04:55:22 -0500 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id D3AE510D590; Mon, 16 Feb 2015 09:55:17 +0000 (GMT) Date: Mon, 16 Feb 2015 09:55:17 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Yasuo Ohgaki cc: Stanislav Malyshev , Matteo Beccati , Bob Weinand , PHP Internals In-Reply-To: Message-ID: References: <54E0F356.2060202@beccati.com> <54E182CF.1050008@gmail.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-860602428-1424080518=:5941" Subject: Re: [PHP-DEV] [RFC] [PRE-VOTE] Remove the date.timezone warning From: derick@php.net (Derick Rethans) --8323329-860602428-1424080518=:5941 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 16 Feb 2015, Yasuo Ohgaki wrote: > On Mon, Feb 16, 2015 at 2:40 PM, Stanislav Malyshev > wrote: >=20 > > > Are you sure that "the ini file is created by the package=20 > > > maintainer and it includes the =E2=80=9Cdate.timezone=E2=80=9D settin= g" is true?=20 > > > Last time I checked it > > > > I my experience, it is unfortunately not universally true - I've=20 > > seen Linux distros with ini files that don't do that. Setting TZ=20 > > correctly would require some non-trivial script work, and I'm=20 > > guessing whoever did the package did not want to do this work. In an earlier thread I posted what Debian needed to do. It's trivial. > > They could of course just put UTC there but that didn't happen=20 > > either. >=20 > I agree. >=20 > The difficulty is choosing the right one. Linux is multi user system=20 > and users may have their own locale settings. System's default and=20 > user's default may differ also. Distributor cannot choose the right=20 > timezone automatically. >=20 > If it's impossible to determine right one automatically, PHP shall=20 > have reasonable default which would be UTC. The only reasonable thing is to let people chose what they want. That=20 means, we do *not* set the timezone by default. If distribution maintainers want to pick something for their users,=20 that's fine, but I am vehemently against removing this warning. cheers, Derick --8323329-860602428-1424080518=:5941--