Bug #14440 Updated: Wrong calculation of timestamp

From: Date: Wed, 12 Dec 2001 16:42:35 +0000
Subject: Bug #14440 Updated: Wrong calculation of timestamp
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73344@lists.php.net to get a copy of this message
ID: 14440 Updated by: sniper Reported By: clemens@gutweiler.net Old Status: Analyzed Status: Closed Bug Type: Date/time related Operating System: Linux 2.4.16 PHP Version: 4.1.0 New Comment: Can't reproduce with latest CVS. Fixed -> closed. Previous Comments: ------------------------------------------------------------------------ [2001-12-12 03:06:42] clemens@gutweiler.net It's the stable 4.1.0 Release, not an Dev-Version Clemens ------------------------------------------------------------------------ [2001-12-12 02:41:01] derick@php.net 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 ------------------------------------------------------------------------ [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

« previous php.dev (#73344) next »