Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19206 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19920 invoked by uid 1010); 27 Sep 2005 14:22:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 19905 invoked from network); 27 Sep 2005 14:22:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Sep 2005 14:22:12 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:59716] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 89/17-54476-39559334 for ; Tue, 27 Sep 2005 10:22:12 -0400 Received: (qmail 16520 invoked from network); 27 Sep 2005 14:22:07 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.office with SMTP; 27 Sep 2005 14:22:07 -0000 Date: Tue, 27 Sep 2005 17:22:07 +0300 (IDT) X-X-Sender: frodo@shire.zend.office To: Ilia Alshanetsky cc: Derick Rethans , PHP Development In-Reply-To: <43394FF3.4000208@prohost.org> Message-ID: References: <433944EA.6070904@prohost.org> <43394FF3.4000208@prohost.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] timezones & date() breakage From: stas@zend.com (Stanislav Malyshev) IA>>The problem before was that there was no 1 certain date setting. For Oh, but there is. It is "use system settings". That is the date setting I am looking for, and that's what I will be using in 99% of the cases - because apps I dela with don't need multiple timezone support on single server - they just need to say "this happened on so-and-so time on this server" - and that's it. IA>>With the date extension there is one unchanging list (even for win32 IA>>users) that will always be constant. So once you determine the desired IA>>timezone name you use it without being concerned about system's TZ settings. But I *want* to be concerned about system's TZ settings - I *want* to use exactly the same time system is using. And I did it happily before. Why can't I do now? I don't ask you to drop functions _you_ need - I ask you not to drop the function _I_ needd - and probably a lot of other people that are going to discover it once they install 5.1 would need, only they would find it out too late to fix it in 5.1. IA>>Yes, initially there will be some short-term pain in converting existing IA>>apps, but for the long term it'll provide a robust and portable It's not "short-term pain" - I see no way to convert any app to work with this mechanism for 5.1 at all, since this setting is not possible to discover from the app. IA>>solution. If we add "legacy" flag or INI setting, I feel that we'd be IA>>taking a step backwards in terms of making applications portable. I don't see why making application portable requires to break already perfectly portable application. And I, personally, don't think making the user manually configure each install of the app is a portability as I see it, BTW. If you for some reason which I can not understand can not make date() be compatible with old settings - ok, add system_date() then which would work as the old date(). Then at least there would be a way to run it on 5.1 in a portable way. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115