Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82775 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90759 invoked from network); 16 Feb 2015 06:09:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Feb 2015 06:09:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.50 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.50 mail-qg0-f50.google.com Received: from [209.85.192.50] ([209.85.192.50:54288] helo=mail-qg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/B1-05176-5A981E45 for ; Mon, 16 Feb 2015 01:09:41 -0500 Received: by mail-qg0-f50.google.com with SMTP id e89so22013260qgf.9 for ; Sun, 15 Feb 2015 22:09:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=2wgWdQVJzCbK7sgvCE/GXxUoNiJHKmH0/MK3QKkex2M=; b=sIHtX9ZsD1bzR2D17QMASctKcyDF31LiBHjUL7C/6gA/oUcNPo5IZrQW8O4Qocl3gk rduYFpPU5Bi1fwJb0KOnDiAjn0YoFnjmKhvfwNF74vOcAV5dW2BFW4ewVTWSNPgggeJ6 dbJ4O9TfMWKKt3MRm83P/rkrWAAY4QF03MqN+ivxiloaqFRE1O6zaz6oclIwtLgg2OBc ZwIAzVim0lDGJb9VZVKwFp3Lh+kyyMQnZSm3bQOMBnjOdfAQ9rWG2MkuGkJob6yvAtQl dAHl50ILxjJik4mvqJP+404Gv89uPS9tDYvPHyLRhZ/j41G06/Cn5ui9fLqmHSCEpBeX Xexw== X-Received: by 10.140.235.197 with SMTP id g188mr811469qhc.86.1424066978416; Sun, 15 Feb 2015 22:09:38 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Sun, 15 Feb 2015 22:08:58 -0800 (PST) In-Reply-To: <54E182CF.1050008@gmail.com> References: <54E0F356.2060202@beccati.com> <54E182CF.1050008@gmail.com> Date: Mon, 16 Feb 2015 15:08:58 +0900 X-Google-Sender-Auth: cR76kDrPyNhB4MSK0BgaYywVFkQ Message-ID: To: Stanislav Malyshev Cc: Matteo Beccati , Bob Weinand , PHP Internals Content-Type: multipart/alternative; boundary=001a11357ace628f82050f2e6ed3 Subject: Re: [PHP-DEV] [RFC] [PRE-VOTE] Remove the date.timezone warning From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11357ace628f82050f2e6ed3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I all, On Mon, Feb 16, 2015 at 2:40 PM, Stanislav Malyshev wrote: > > Are you sure that "the ini file is created by the package maintainer an= d > > it includes the =E2=80=9Cdate.timezone=E2=80=9D setting" is true? Last = time I checked it > > I my experience, it is unfortunately not universally true - I've seen > Linux distros with ini files that don't do that. Setting TZ correctly > would require some non-trivial script work, and I'm guessing whoever did > the package did not want to do this work. They could of course just put > UTC there but that didn't happen either. I agree. The difficulty is choosing the right one. Linux is multi user system and users may have their own locale settings. System's default and user's default may differ also. Distributor cannot choose the right timezone automatically. If it's impossible to determine right one automatically, PHP shall have reasonable default which would be UTC. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11357ace628f82050f2e6ed3--