Bug #12378 Updated: checkdate returns TRUE on false date
| From: | andy@php.net | Date: | Thu, 26 Jul 2001 06:10:57 +0000 |
| Subject: | Bug #12378 Updated: checkdate returns TRUE on false date | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61030@lists.php.net to get a copy of this message | ||
ID: 12378
Updated by: andy
Reported By: webmaster@telescopium.dk
Old Status: Open
Status: Bogus
Bug Type: Date/time related
Operating System: linux
PHP Version: 4.0.6
New Comment:
2000 is a leap year...
Previous Comments:
------------------------------------------------------------------------
[2001-07-25 15:47:33] webmaster@telescopium.dk
The checkdate doesn't validate correcly on all dates.
checkdate(2,29,2000); returns true even thoug the year 2000 was not a leapyear.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12378&edit=1