PHP 4.0 Bug #6254: checkdate accepts year 0
| From: | chris at chrullrich dot de | Date: | Sat, 19 Aug 2000 16:05:02 +0000 |
| Subject: | PHP 4.0 Bug #6254: checkdate accepts year 0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29673@lists.php.net to get a copy of this message | ||
From: chris@chrullrich.de
Operating system: Linux
PHP version: 4.0.1pl2
PHP Bug Type: Other
Bug description: checkdate accepts year 0
The function checkdate() accepts the year 0 as valid.
I don't know about Julian or Jewish or Islamic calendars,
but the Gregorian calendar does not contain a year 0.
1 BC -> 1 AC.