PHP 4.0 Bug #6305: when string contains "at", wrong time returned

From: Date: Wed, 23 Aug 2000 02:21:21 +0000
Subject: PHP 4.0 Bug #6305: when string contains "at", wrong time returned
Groups: php.dev 
Request: Send a blank email to php-dev+get-30262@lists.php.net to get a copy of this message
From: elkan@cs.ucsd.edu Operating system: linux PHP version: 4.0.1pl2 PHP Bug Type: Misbehaving function Bug description: when string contains "at", wrong time returned When given this date: Tuesday, 22 Aug 2000 at 5:06 PM EDT strtotime returns 2000-08-22 15:06:00 i.e. 5pm is converted to 15:00, which is 3pm. This does not appear to be a time zone problem. strtotime works correctly when " at" is deleted from the input string.

« previous php.dev (#30262) next »