Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62725 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45520 invoked from network); 3 Sep 2012 11:51:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2012 11:51:28 -0000 Authentication-Results: pb1.pair.com header.from=wfitch@meetme.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=wfitch@meetme.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain meetme.com designates 74.125.149.19 as permitted sender) X-PHP-List-Original-Sender: wfitch@meetme.com X-Host-Fingerprint: 74.125.149.19 na3sys009aog138.obsmtp.com Linux 2.5 (sometimes 2.4) (4) Received: from [74.125.149.19] ([74.125.149.19:48952] helo=na3sys009aog138.obsmtp.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/A4-20751-FB994405 for ; Mon, 03 Sep 2012 07:51:28 -0400 Received: from mail-vb0-f42.google.com ([209.85.212.42]) (using TLSv1) by na3sys009aob138.postini.com ([74.125.148.12]) with SMTP ID DSNKUESZuxu83BRl4G9S0QNjN6RDxZCaCgLD@postini.com; Mon, 03 Sep 2012 04:51:27 PDT Received: by vbbfs19 with SMTP id fs19so5666466vbb.29 for ; Mon, 03 Sep 2012 04:51:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=G0iNQonRCzEUjSfyG9GHjGQ7e9ZOAfy8qhLduhsUOTQ=; b=kBnzWg9Cy3axh0XVhBfIYeQovdBb1GdahNoK+Ap68KJDXinFU5MnmgkkNkt8jVatOk VgIALy6ny3GGreIXI+x40W6PP3r7mkjMWsWXdsylpp9ee+VPjXZa1sHy5b7NtBEpKRzm sgvXj7GjRurw6rpiIePd6AIvelo7mqOlXIPoIJfBbggPJWRbgYUq8xSsK932CI6O2Jos rNn3SiIheSDmM70tkwUtN6kDa/DzIwqrnYhx8IJ0Iv0TrS1Vy3lyzjsCoIvOLDMX2DBg y7r/cd349OgoUDKrOGC6biPs7U5cd0t/kjjHN8wk52Xuu5/80F4V28a6D7E1H9Vjckbq D8ow== MIME-Version: 1.0 Received: by 10.221.10.148 with SMTP id pa20mr11913608vcb.26.1346673082897; Mon, 03 Sep 2012 04:51:22 -0700 (PDT) Received: by 10.58.132.161 with HTTP; Mon, 3 Sep 2012 04:51:22 -0700 (PDT) X-Originating-IP: [71.185.163.243] In-Reply-To: <5044715E.3050504@rotorised.com> References: <50435ABE.4010308@ajf.me> <50436412.7010802@ajf.me> <5043C3E9.2010105@ajf.me> <5043C5AF.3060701@ajf.me> <5043C74C.8020400@ajf.me> <5043D8C0.3020802@lsces.co.uk> <5044715E.3050504@rotorised.com> Date: Mon, 3 Sep 2012 07:51:22 -0400 Message-ID: To: Ryan McCue Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=bcaec54d4e0abc12ee04c8cac2ee X-Gm-Message-State: ALoCoQkcuK7HsSn6rBey7IAOCwhpff0M36Q+jUI6QyJg4L14jv0vejK9eRquVuYWE1p9sbA6ykuk Subject: Re: [PHP-DEV] RFC for Adding __toString to DateTime From: wfitch@meetme.com (Will Fitch) --bcaec54d4e0abc12ee04c8cac2ee Content-Type: text/plain; charset=ISO-8859-1 On Mon, Sep 3, 2012 at 4:59 AM, Ryan McCue wrote: > As far as I can tell, there's no standard which uses the Olson database > to specify the timezone, so we'd have to create one. > > What about ISO8601 with the Olson timezone suffixed? > > 2012-09-02T18:17:36+0100 (Europe/London) > 2012-09-02T18:19:05+0100 (Africa/Niamey) > Disagree - The ISO8601 provides a good *string* representation of the object. If you want every aspect of the entire object, including the properties which are also objects, serialize it. > > -- > Ryan McCue > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --bcaec54d4e0abc12ee04c8cac2ee--