Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67592 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62153 invoked from network); 30 May 2013 01:19:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 May 2013 01:19:19 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain l-i-e.com designates 67.139.134.202 as permitted sender) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:2443] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/F1-52247-519A6A15 for ; Wed, 29 May 2013 21:19:18 -0400 Received: (qmail 29811 invoked by uid 98); 30 May 2013 01:19:20 -0000 Received: from localhost by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.05 ( Clear:RC:1(127.0.0.1):. Processed in 0.232697 secs); 30 May 2013 01:19:20 -0000 Received: from localhost (HELO www.l-i-e.com) (127.0.0.1) by localhost with SMTP; 30 May 2013 01:19:19 -0000 Received: from webmail (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Wed, 29 May 2013 20:19:19 -0500 Message-ID: <09874d08b34d429d21989cf09c004cc7.squirrel@www.l-i-e.com> In-Reply-To: <519E77B4.2050503@sugarcrm.com> References: <519E77B4.2050503@sugarcrm.com> Date: Wed, 29 May 2013 20:19:19 -0500 To: "Stas Malyshev" Cc: "Daniel Lowrey" , "internals@lists.php.net" User-Agent: SquirrelMail/1.4.21 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] date.timezone E_WARNING -- Really necessary? What's the rationale? From: ceo@l-i-e.com ("Richard Lynch") On Thu, May 23, 2013 3:10 pm, Stas Malyshev wrote: >> I'm probably not the typical PHP user; I spend 99% of my PHP time >> using the CLI (and not web SAPIs). >> This means that I frequently run PHP without an .ini file. As a > > I'm not sure how this follows - CLI is capable of using ini file just > like the rest of SAPIs. Why not create it? > >> 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 don't know about everybody else, but if I need a timezone-aware application, I always use GMT/UTC and have I/O routines for user-interface to convert to local for them.