Bug #14440 Updated: Wrong calculation of timestamp
| From: | derick@php.net | Date: | Wed, 12 Dec 2001 07:41:02 +0000 |
| Subject: | Bug #14440 Updated: Wrong calculation of timestamp | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73222@lists.php.net to get a copy of this message | ||
ID: 14440
Updated by: derick
Reported By: clemens@gutweiler.net
Old Status: Open
Status: Analyzed
Bug Type: Date/time related
Operating System: Linux 2.4.16
PHP Version: 4.1.0
New Comment:
I can reproduce this with php 4.1.0, but not with php 4.2.0 (Dev version). Can you verify that by
using a snapshot from snaps.php.net?
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-12-11 19:27:30] cg@php.net
too late ;)
------------------------------------------------------------------------
[2001-12-11 19:26:29] cg@php.net
Assigned Type
------------------------------------------------------------------------
[2001-12-11 18:40:07] clemens@gutweiler.net
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 this bug report at http://bugs.php.net/?id=14440&edit=1