cvs: php-src /ext/date/tests bug33563.phpt

From: Date: Mon, 04 Jul 2005 12:41:20 +0000
Subject: cvs: php-src /ext/date/tests bug33563.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-32674@lists.php.net to get a copy of this message
derick Mon Jul 4 08:41:20 2005 EDT Added files: /php-src/ext/date/tests bug33563.phpt Log: - Added testcase for bug #33563 which is already fixed. http://cvs.php.net/co.php/php-src/ext/date/tests/bug33563.phpt?r=1.1&p=1 Index: php-src/ext/date/tests/bug33563.phpt +++ php-src/ext/date/tests/bug33563.phpt --TEST-- Bug #33563 (strtotime('+1 month',$abc) cant get right time) --FILE-- <?php date_timezone_set("GMT"); $strCurrDate = date('Y-m-d H:i:s',strtotime('2005-06-30 21:04:23')); $strMonAfter = date('Y-m-d H:i:s',strtotime('+1 month',strtotime($strCurrDate))); echo "strCurrDate:$strCurrDate strMonAfter:$strMonAfter"; ?> --EXPECT-- strCurrDate:2005-06-30 21:04:23 strMonAfter:2005-07-30 21:04:23

« previous php.cvs (#32674) next »