RE: [PHP-QA] [PHP-DEV] Bug #14440 Updated: Wrong calculation of timestamp (fwd)

From: Date: Wed, 12 Dec 2001 08:48:22 +0000
Subject: RE: [PHP-QA] [PHP-DEV] Bug #14440 Updated: Wrong calculation of timestamp (fwd)
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-4218@lists.php.net to get a copy of this message
Interesting, this would explain something Ive seen.. If someone entered say 11/12/01 (as we are british) it was coming up with 12/12/01 I thought it was something I had done.. I hadn't tested it further.. Will look at it more now as its part of a system Ive written which will go corporate wide when completed, ha ha ha (we are a microsoft partner and they will be devistated I didn't use asp.. Shame huh) but, php is the best tool for the job! I'll comment on the bug form if I find anything > -----Original Message----- > From: derick@php.net [mailto:derick@php.net] > Sent: Wednesday, December 12, 2001 7:50 AM > To: PHP Quality Assurance Team Mailing List > Subject: [PHP-QA] [PHP-DEV] Bug #14440 Updated: Wrong > calculation of timestamp (fwd) > > > 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 > > > -- > PHP Quality Assurance Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net > For additional commands, e-mail: php-qa-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.qa (#4218) next »