Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67576 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19827 invoked from network); 28 May 2013 08:25:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2013 08:25:56 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.20.125 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.20.125 c2bthomr07.btconnect.com Received: from [213.123.20.125] ([213.123.20.125:14257] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/BB-44058-21A64A15 for ; Tue, 28 May 2013 04:25:55 -0400 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.5_) ([81.138.11.136]) by c2bthomr07.btconnect.com with ESMTP id LYQ15180; Tue, 28 May 2013 09:25:51 +0100 (BST) Message-ID: <51A46A0F.2040404@lsces.co.uk> Date: Tue, 28 May 2013 09:25:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17 MIME-Version: 1.0 To: "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0302.51A46A0F.0021, actions=TAG X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2013.5.28.71519:17:7.944, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, BODY_ENDS_IN_URL, BODY_SIZE_1500_1599, BODYTEXTP_SIZE_3000_LESS, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_2000_LESS, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2bthomr07.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0209.51A46A0F.00EE:SCFSTAT14830815,ss=1,re=-4.000,fgs=0, ip=0.0.0.0, so=2011-07-25 19:15:43, dmn=2011-05-27 18:58:46, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Re: date.timezone E_WARNING -- Really necessary? What's the rationale? From: lester@lsces.co.uk (Lester Caine) Pierre Joye wrote: > And I stop here for this discussion, I do not see any new arguments on > both sides and a default TZ will very unlikely happen. Packagers could > deal with that easily and application developers as well. Isn't the point here that this only became a problem when the NEED for a default time zone was forced on us? What I should be saying is not that UTC should be the default, but rather running as PHP used to without any regard for a timezone should be the default. Since many people simply don't understand the ramifications of needing to add daylight saving management into their applications. Treat a simple UTC default as 'server clock' so that 6PM is 6PM any time of the year and many of the problems go away? Only enable timezone management when you need to start to take care of users in different timezones at which time one is forced to manage the shifts of time properly. Why do the people who are only running with local time need to worry? The second you start to use timezones you need to set things up properly yourself! Add of cause the fact that it's not just using DateTime with a timezone that causes a problem, but the bugs which remain in it are another area that can cause problems. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk