[PHP-DEV] Bug #14440 Updated: Wrong calculation of timestamp

2001-12-12 Thread clemens

ID: 14440
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: Date/time related
Operating System: Linux 2.4.16
PHP Version: 4.1.0
New Comment:

It's the stable 4.1.0 Release, not an Dev-Version

Clemens

Previous Comments:


[2001-12-12 02:41:01] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

too late ;)



[2001-12-11 19:26:29] [EMAIL PROTECTED]

Assigned Type



[2001-12-11 18:40:07] [EMAIL PROTECTED]

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=14440edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14440: Wrong calculation of timestamp

2001-12-11 Thread clemens

From: [EMAIL PROTECTED]
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=14440edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]