Re: small bug in date()
| From: | Derick Rethans | Date: | Fri, 02 May 2008 21:33:30 +0000 |
| Subject: | Re: small bug in date() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37413@lists.php.net to get a copy of this message | ||
On Fri, 2 May 2008, Jon L. wrote:
> php-5.2.6\ext\date\php_date.c @ 813-820
>
> rfc_colon isn't reset between the 'O' and 'P' format characters.
> Allowing (date('P O') === date('P P')) to return true.
>
> Has anyone else noticed this?
No, but I just fixed it in CVS for PHP 5.3 and HEAD, and will do PHP 5.2
as well.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org