Bug #14440 Updated: Wrong calculation of timestamp (fwd)

From: Date: Wed, 12 Dec 2001 07:50:16 +0000
Subject: Bug #14440 Updated: Wrong calculation of timestamp (fwd)
Groups: php.qa 
Request: Send a blank email to php-qa+get-4217@lists.php.net to get a copy of this message
Hello, this is very bad : Proposal: Merge this fix and maybe others that come up in the next week(s), and release a 4.1.1? Derick ---------- Forwarded message ---------- Date: 12 Dec 2001 07:41:02 -0000 From: derick@php.net To: php-dev@lists.php.net Subject: [PHP-DEV] Bug #14440 Updated: Wrong calculation of timestamp 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.qa (#4217) next »