Bug #14440: Wrong calculation of timestamp
| From: | clemens at gutweiler dot net | Date: | Tue, 11 Dec 2001 23:40:07 +0000 |
| Subject: | Bug #14440: Wrong calculation of timestamp | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-73184@lists.php.net to get a copy of this message | ||
From: clemens@gutweiler.net
Operating system: Linux 2.4.16
PHP version: 4.1.0
PHP Bug Type: Unknown/Other Function
Bug description: Wrong calculation of timestamp
strtotime() returns an wrong timestamp from the date-string:
echo date( 'd.m.Y H:i:s', strtotime( 'Tue, 11 Dec 2001 23:38:06 +0100' )
);
return "07.12.2001 20:38:06" under 4.1.0..,
4.0.6 return "11.12.2001 23:38:06"
--
Edit bug report at: http://bugs.php.net/?id=14440&edit=1