Bug #12656: strtotime started to malfunction after OS change
| From: | lecoq_tr at hotmail dot com | Date: | Wed, 08 Aug 2001 16:48:54 +0000 |
| Subject: | Bug #12656: strtotime started to malfunction after OS change | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-62582@lists.php.net to get a copy of this message | ||
From: lecoq_tr@hotmail.com
Operating system: Red Hat 7.1
PHP version: 4.0.6
PHP Bug Type: Date/time related
Bug description: strtotime started to malfunction after OS change
Example code :
print strtotime("Tue Aug 7 18:48:28 2001");
This sample code format used to work properly in all PHP releases this year
when we used Red Hat 6.2. It could give the proper timestamp.
But after upgrading to Red Hat 7.1, this code only gives "-1". I always use
the same "configure" options when compiling. I run PHP as Apache module.
I have to take the first 11 characters of the etring to calculate the
timestamp, but it is not precise without time and year information.
What do I do to have this code work properly again?
--
Edit bug report at: http://bugs.php.net/?id=12656&edit=1