From: [EMAIL PROTECTED] Operating system: Linux 2.2.16enterprise PHP version: 4.0.5 PHP Bug Type: Date/time related Bug description: strtotime() doesn't work with ordinal suffixes
PHP does not correctly parse ordinal date suffixes in the strtotime() function. For example: <?php echo strtotime("10th August 2002"); echo strtotime("22nd January 1998"); echo strtotime("November 3rd 1980"); ?> They will all fail, returning -1. -- Edit bug report at: http://bugs.php.net/?id=15210&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]