Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62691 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40124 invoked from network); 2 Sep 2012 21:20:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2012 21:20:52 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:56118] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/19-17065-0BDC3405 for ; Sun, 02 Sep 2012 17:20:52 -0400 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 7A48ADE13E; Sun, 2 Sep 2012 22:20:45 +0100 (BST) Date: Sun, 2 Sep 2012 22:20:45 +0100 (BST) X-X-Sender: derick@whisky.home.derickrethans.nl To: Andrew Faulds cc: Benjamin Eberlei , Pierre Joye , Will Fitch , Stas Malyshev , "internals@lists.php.net" In-Reply-To: <5043C74C.8020400@ajf.me> Message-ID: References: <5042BC3C.7070208@sugarcrm.com> <50435ABE.4010308@ajf.me> <50436412.7010802@ajf.me> <5043C3E9.2010105@ajf.me> <5043C5AF.3060701@ajf.me> <5043C74C.8020400@ajf.me> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] RFC for Adding __toString to DateTime From: derick@php.net (Derick Rethans) On Sun, 2 Sep 2012, Andrew Faulds wrote: > On 02/09/12 21:50, Derick Rethans wrote: > > Yes, I am saying that ISO8601 is lossy - and that is something that > > shouldn't be the default format. > > > Lossy of what? Local timezone? > > ISO 8601 is the single unambiguously ordered (no mm-dd/dd-mm > confusion), international standard, machine-readable (default in > ECMAScript, for instance) date/time format. > > I see no reason not to use it. Date/time should be UTC anyway when > debugging. Yeah, I understand you don't see a reason. That's what scares me. For debugging I definetely wouldn't want to have my datetimes mangled to just show UTC. I wouldn't even be able to see the difference between 4pm London and 5pm Amsterdam time! cheers, Derick