Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67478 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79175 invoked from network); 24 May 2013 05:48:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2013 05:48:35 -0000 Authentication-Results: pb1.pair.com header.from=leafnode@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leafnode@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.52 as permitted sender) X-PHP-List-Original-Sender: leafnode@gmail.com X-Host-Fingerprint: 209.85.214.52 mail-bk0-f52.google.com Received: from [209.85.214.52] ([209.85.214.52:55933] helo=mail-bk0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/4C-16824-23FFE915 for ; Fri, 24 May 2013 01:48:34 -0400 Received: by mail-bk0-f52.google.com with SMTP id mz10so2229351bkb.25 for ; Thu, 23 May 2013 22:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=QipMBz5e29w4ogfoOkbXGDScEMs3X8m/Cn2D1IpnATU=; b=freD7Vr4+/LUAN5PdW4KwMN+KxmKFQGeCIvR/82lcR53LNbqOtkqUpX2zL28mbr2va m4K2tBK34W8ZF04iZq+fLDsDPRz8WavAPW4HruSO932GxwkmNUPZe7QLeoIXhheay2EA MEjlmznh9Codroe1qQEr5HoHF8AaeOnhNoB5Pufkp03OWBLn0CcIM94WFBejnf2mqTsN sFzmUuOrYdorVJcOqwVsUP2eYwElTnrXlguXjIP10xJ3lMeAuwwRImh32YMm1eUTIlvw ZcfgH6JMqDmzyQsdH6A+8psLJsJKN4wD3Rb6o2MMkgPPrW6FwiwXTTQD1ll9x0X3IYtN ibdA== X-Received: by 10.205.38.73 with SMTP id th9mr8473075bkb.0.1369374511526; Thu, 23 May 2013 22:48:31 -0700 (PDT) Received: from [10.0.20.40] (81-18-213-39.static.chello.pl. [81.18.213.39]) by mx.google.com with ESMTPSA id da16sm3951043bkb.2.2013.05.23.22.48.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 22:48:30 -0700 (PDT) Message-ID: <519EFF2B.501@gmail.com> Date: Fri, 24 May 2013 07:48:27 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: internals@lists.php.net References: <519E77B4.2050503@sugarcrm.com> In-Reply-To: <519E77B4.2050503@sugarcrm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] date.timezone E_WARNING -- Really necessary? What's the rationale? From: leafnode@gmail.com (=?UTF-8?B?TGVzemVrIEtydXBpxYRza2k=?=) On 2013-05-23 22:10, Stas Malyshev wrote: >> The "U" in UTC *does* stand for "Universal," after all. It's a >> sensible default and as such shouldn't > I don't think it's a sensible default - people don't actually use UTC > when considering dates. A minority of people can use timezone that > coincides with UTC, but not very many use actual UTC. I was wondering - why not get time zone info from operating system? It's should be quite easy on both *nixes and Windows. That way default value would be "from operating system", with possibility to override it in .ini. --Leszek