Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21747 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39750 invoked by uid 1010); 31 Jan 2006 21:37:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 39735 invoked from network); 31 Jan 2006 21:37:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2006 21:37:21 -0000 X-Host-Fingerprint: 66.249.82.202 xproxy.gmail.com Linux 2.4/2.6 Received: from ([66.249.82.202:41134] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C7/55-23224-098DFD34 for ; Tue, 31 Jan 2006 16:37:20 -0500 Received: by xproxy.gmail.com with SMTP id t10so464351wxc for ; Tue, 31 Jan 2006 13:37:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IHM3sv7xtQ81vXKw4m7WivEO2ZzM40krCoVGrGv/rwTsPyiFNlo3sPvfIP7Ethj6AbxIwxww8PO8n4NkmRvTazaJgSUuCP7rMWiN4YqgYm5A50TGbGN7zxM5GPyvha9avSvuSBkDzR2+vbU2MnnPtm7ClFIqt8x8inkviVvWAek= Received: by 10.70.11.14 with SMTP id 14mr9080254wxk; Tue, 31 Jan 2006 13:37:16 -0800 (PST) Received: by 10.70.42.19 with HTTP; Tue, 31 Jan 2006 13:37:16 -0800 (PST) Message-ID: <7f3ed2c30601311337i4028d9e3ye12f1916f442edd9@mail.gmail.com> Date: Tue, 31 Jan 2006 22:37:16 +0100 To: internals@lists.php.net, Derick Rethans MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: DATE_ISO8601 and the "c" date() character From: hannes.magnusson@gmail.com (Hannes Magnusson) Hi all I just noticed that the DATE_ISO8601 constant and the "c" date() character don't give the same results. The difference is that the "c" format prints colon in the timezone offset, but the constant does not - both are however ISO8601 compliant. Is this intentional? If not, I'd want to change the constant rather then "c", since the "c" format has been there since 5.0 but the constant since 5.1.1. Patch attached (and patch for phpdoc). However! I think ISO8601 formats without the colon are more used.., not sure if this should be changed at all.... - Hannes