Re: DATE_ISO8601 and the "c" date() character
| From: | Derick Rethans | Date: | Wed, 01 Feb 2006 08:34:45 +0000 |
| Subject: | Re: DATE_ISO8601 and the "c" date() character | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21751@lists.php.net to get a copy of this message | ||
On Tue, 31 Jan 2006, Hannes Magnusson wrote:
> 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.
<snip>
> However! I think ISO8601 formats without the colon are more used..,
> not sure if this should be changed at all....
Indeed, I don't think we should change this. As long as it is properly
documented of course.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org