Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62672 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71947 invoked from network); 2 Sep 2012 13:50:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2012 13:50:49 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 64.22.89.133 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 64.22.89.133 oxmail.registrar-servers.com Received: from [64.22.89.133] ([64.22.89.133:37612] helo=oxmail.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/FB-17065-83463405 for ; Sun, 02 Sep 2012 09:50:49 -0400 Received: from [192.168.0.200] (5ad3285b.bb.sky.com [90.211.40.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id 151AA75808C; Sun, 2 Sep 2012 09:50:44 -0400 (EDT) Message-ID: <50436412.7010802@ajf.me> Date: Sun, 02 Sep 2012 14:50:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Benjamin Eberlei CC: Pierre Joye , Derick Rethans , Will Fitch , Stas Malyshev , "internals@lists.php.net" References: <5042BC3C.7070208@sugarcrm.com> <50435ABE.4010308@ajf.me> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC for Adding __toString to DateTime From: ajf@ajf.me (Andrew Faulds) On 02/09/12 14:40, Benjamin Eberlei wrote: > I think allowing to change teh default format would be horrible. If > libraries (such as Doctrine would) use this internally, they are at > the will of users not to fiddle with this setting. Not to speak about > libraries that contradict each other. > > If there was a format, it would have to be constant imho. Then ISO8601, please. It's a single, unambiguous Date and Time format. -- Andrew Faulds http://ajf.me/